Method: Fog::Compute::VirtualBox::Server#scp
- Defined in:
- lib/rackspace-fog/virtual_box/models/compute/server.rb
#scp(local_path, remote_path, upload_options = {}) ⇒ Object
154 155 156 157 158 159 160 161 |
# File 'lib/rackspace-fog/virtual_box/models/compute/server.rb', line 154 def scp(local_path, remote_path, = {}) raise 'Not Implemented' # requires :addresses, :username # # options = {} # options[:key_data] = [private_key] if private_key # Fog::SCP.new(addresses['public'].first, username, options).upload(local_path, remote_path, scp_options) end |