# File lib/fog/compute/models/slicehost/server.rb, line 113 def scp(local_path, remote_path, upload_options = {}) requires :addresses, :username scp_options = {} scp_options[:key_data] = [private_key] if private_key Fog::SCP.new(addresses.first, username, scp_options).upload(local_path, remote_path, upload_options) end