From: Jamis Buck Date: 2005-06-27T08:56:24+09:00 Subject: Re: Error using Net::SSH On Jun 26, 2005, at 4:20 PM, Amit Chitre wrote: >> From WinXP, I'm trying (for the first time) to connect to remote >> > solaris server. Code as under: Thanks for the bug report. I'll look into it--in the meantime, you can work around it by explicitly specifying the authentication method (s) to use: session = Net::SSH.start('remote.solaris.server', 'user', 'pwd', :auth_methods => %w(password keyboard-interactive)) (The problem is occurring because by default, the "publickey" authmethod is tried first and it can't find the SSH agent to use for that. That's a bug--it should silently fall back to the next method.) - Jamis