Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by salva (Canon)
on Jun 01, 2016 at 06:45 UTC ( [id://1164666]=note: print w/replies, xml ) Need Help??


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

Net::OpenSSH does not work on Windows!

Your options are:

  • Net::SSH2, which if you are using Strawberry Perl is already there, though I advice you to upgrade to the latest version.
  • Net::SSH::Perl, quite difficult to install in Windows.

And then there is Net::SSH::Any, which provides an API very similar to that of Net::OpenSSH running on top of Net::SSH2.

A much improved version of Net::SSH::Any is almost ready. You can grab it from the GitHub repository. It is more reliable, friendly and feature rich than the version available from CPAN and can also run on top of most Windows binary SSH clients, including plink.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1164666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found