I've got a Net::SSH question but I can't seem to find the Net::SSH 
mailing list, so here goes.
We're talking v2 here and on Windows. The following code will not prompt 
for a password, it will actually fail with an authentication error

Net::SSH.start("172.25.150.31", "administrator"
) do |ssh|
    result = ssh.exec!("ls")
    puts result
end
c:/dev/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/lib/net/ssh.rb:195:in 
`start': administrator (Net::SSH::AuthenticationFailed).

How can I get the password prompt in this case?

Also, even if I set :password=>"actualpassword" I still get the 
authentication failure.

Now, that account is set for passwordless login, but 2.0.1 still doesn't 
find the id_rsa keys (adding :keys=>["blabla"] with the paths lets it 
find them). That's not a problem, I just want to know if it's supposed 
to be like that.
The id_rsa keys are stored in Documents and Settings/username/.ssh and 
Capistrano (2.3.0) finds them fine
Thanks for the OT tolerance (and a link to the Net::SSH mailing list 
would be greatly appreciated)

-- 
http://www.braveworld.net/riva


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to