Do you have pageant.exe running? Have you told it about your id_rsa key?
Alas, there isn't a mailing list for net-ssh (yet, though the volume of requests is rising and I might create one soon). For now, just email me directly with the output of your script when debugging is enabled:
Net::SSH.start("172.25.150.31", "administrator", :verbose => :debug) do |ssh|
- Jamis On May 15, 2008, at 3:45 AM, Vassilis Rizopoulos wrote:
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 promptfor 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'tfind 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 -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
