From: gregarican Date: 2005-09-29T00:41:43+09:00 Subject: Re: net/ssh question I think there is a bug in Net::SSH (or there was when I was using it for a project back when) where the authentication method doesn't default to public key. Here's a sample of the code that could be used: Net::SSH.start('my_host.com','user',:keys=>["c:\\id_dsa"],:auth_methods=>"publickey" ) do |session| # put the SSH session command and whatnot here end If you see I hard-coded the public key authentication method, as well as provided the location of the DSA ID file used. Does this help?