Private key authentication works with this user, I know because I use it
fine with Putty.
Here is my script right now:
Net::SSH.start( ‘files02’, ‘myuser’, ‘mypassword’ ) do |session|
session.open_channel do |channel|
channel.on_data do |ch, data|
channel.exec "echo \"hello\""
and it works, but I would prefer it to use a private key for the
authentication and then prompt for the key’s password. In the
documentation it says it will automatically look for a key in certain
places, but the places are unix paths and this needs to run from a
Windows (XP) box.