# File lib/fog/compute/models/server.rb, line 22 def scp_download(remote_path, local_path, download_options = {}) require 'net/scp' requires :public_ip_address, :username scp_options = {:port => ssh_port} scp_options[:key_data] = [private_key] if private_key Fog::SCP.new(public_ip_address, username, scp_options).download(remote_path, local_path, download_options) end