Subject: | Default protocol version |
Distribution name: Net-SSH-Perl-1.29
Perl version: 5.6.1, but any
OS: Any
When connecting to remote sshd which provides support for both versions 1 and 2, Net::SSH::Perl chooses version 1 by default, which has some undesirable effects.
In the manual there is written it's for compatibility with OpenSSH, but apparently OpenSSH uses version 2 by default. At least when it has id_rsa /id_dsa files.
When passing identity_files to Net::SSH::Perl modules, it uses version 1 by default and therefore the authentication using public keys fails. I know it's possible to force the module to use version 2, but shouldn't it be default?