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.
Comment on Re: Net SSH2 auth_publickey not working in Windows
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.