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

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.

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

Replies are listed 'Best First'.
Re^3: Connecting using Net-OpenSSH with public key instead of password
by afoken (Chancellor) on Jun 01, 2016 at 06:29 UTC
    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!