We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6f5fb commit bafa61dCopy full SHA for bafa61d
lib/net/sftp.rb
@@ -56,7 +56,7 @@ class Net::SSH::Connection::Session
56
# SSH session. Blocks until the SFTP session is fully open, and then
57
# returns the SFTP session.
58
#
59
- # Net::SSH.start("localhost", "user", "password") do |ssh|
+ # Net::SSH.start("localhost", "user", :password => "password") do |ssh|
60
# ssh.sftp.upload!("/local/file.tgz", "/remote/file.tgz")
61
# ssh.exec! "cd /some/path && tar xf /remote/file.tgz && rm /remote/file.tgz"
62
# end
0 commit comments