rkitover / net-ssh2

Net::SSH2 perl module using libssh2
http://search.cpan.org/perldoc?Net::SSH2
21 stars 21 forks source link

Update Net::SSH2 with latest libssh2 host keys options. #62

Open mjsid opened 3 weeks ago

mjsid commented 3 weeks ago

In current version 0.74 it only provides 2 host keys type support i.e ssh-rsa and ssh-dss. However, latest libssh2 provide below type host key support. Hostkey Types: ssh-ed25519, ssh-ed25519-cert-v01@openssh.com, ecdsa-sha2-nistp521, ecdsa-sha2-nistp384, ecdsa-sha2-nistp256, ssh-rsa, ssh-dss

Please include support for these types as well.

salva commented 3 weeks ago

IIRC, Net::SSH2 already supports those. You just need to compile it against a recent version of libssh2.

Can you explain in which way you are missing support for those? Are you missing some methods or constants?