# File lib/sshkit/backends/netssh.rb, line 64 def upload!(local, remote, options = {}) summarizer = transfer_summarizer('Uploading', options) remote = File.join(pwd_path, remote) unless remote.to_s.start_with?("/") || pwd_path.nil? with_ssh do |ssh| ssh.scp.upload!(local, remote, options, &summarizer) end end