module Makitzo::SSH::Commands::FileTransfer
Public Instance Methods
scp_upload(local_path, remote_path)
click to toggle source
# File lib/makitzo/ssh/commands/file_transfer.rb, line 3 def scp_upload(local_path, remote_path) logger.info "scp: '#{local_path}' -> '#{remote_path}'" scp = Net::SCP.new(connection) scp.upload!(local_path, remote_path) end