in reply to Re^2: Connecting using Net-OpenSSH with public key instead of password
in thread Connecting using Net-OpenSSH with public key instead of password

I downloaded Putty but when I login, it works just like when I use WinSCP.

I'm not sure if this is the problem: WinSCP uses the same key format as PuTTY, and it is different from the OpenSSH format. I assume Net::OpenSSH expects a key in OpenSSH format. The PuTTYgen program can convert between OpenSSH and PuTTY formats.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^3: Connecting using Net-OpenSSH with public key instead of password

Replies are listed 'Best First'.
Re^4: Connecting using Net-OpenSSH with public key instead of password
by NewMonk2Perl (Sexton) on Jun 01, 2016 at 21:46 UTC

    Thanks I will try that, I am really busy with other things but I will try that this week and post back if I was able to resolve it. Thanks to everyone for your help, I really appreciate that you take time our of your busy life to help others less fortunate!