After quickly going through the documentation, I'd try auth_list method to get the available authentication methods supported by the server and then use one of them. Also to get the error description (not just the error code), use the error method in a list context, ex. print $ssh2->error;.
We are what we repeatedly do. Excellence, then, is not an act but a habit. -- Will Durant (Aristotle)
In reply to Re: Perl Net::SSH2 unable to connect
by reisinge
in thread Perl Net::SSH2 unable to connect
by kabachaa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |