net-ssh2 icon indicating copy to clipboard operation
net-ssh2 copied to clipboard

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

Open mjsid opened this issue 1 year ago • 2 comments

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, [email protected], ecdsa-sha2-nistp521, ecdsa-sha2-nistp384, ecdsa-sha2-nistp256, ssh-rsa, ssh-dss

Please include support for these types as well.

mjsid avatar Nov 05 '24 04:11 mjsid

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?

salva avatar Nov 05 '24 07:11 salva

I think the documentation only showing two supported host keys type.

benjaminlin1019 avatar Jun 10 '25 20:06 benjaminlin1019