in reply to Net SSH2 auth_publickey not working in Windows

Re: more verbose debug messages, in addition to the debug method you call, you can also call error to return the last error message and a description string - see Net::SSH2.

Replies are listed 'Best First'.
Re^2: Net SSH2 auth_publickey not working in Windows
by karayan (Novice) on Dec 15, 2008 at 22:06 UTC
    Thanks, Error reported that it was unable to initialize private key from file. I was using puttygen for generate public private key. When I used private key from export opensshkey option in puttygen everything worked.
    Thanks for your help.
    Saura.
    PS: I am new here. How do I disable html messages here. I prefer plain text.