in reply to Connecting using Net-OpenSSH with public key instead of password

If you're not sure what it's doing, run the ssh command from the command line. You can also add the debug option to the ssh command to get additional information about what it's doing in detail.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

  • Comment on Re: Connecting using Net-OpenSSH with public key instead of password

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

    I am running on windows with ActiveState Perl, Ok I downloaded Putty but when I login, it works just like when I use WinSCP. I am able to access the folders & files and I dont get the same message. I would like to automated this process rather than having to login and download and extract the files manually each time. Thanks for your response.

      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". ;-)

        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!