in reply to 'No hostkey algorithm!' issue while using Net::SSH::Perl

It appears that the SERVER you are connecting to only supports SSH using the deprecated "ssh-dss" algorithm.

A note at https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html says:

Starting with the 7.0 release of OpenSSH, support for ssh-dss keys has been disabled by default at runtime due to their inherit weakness.

Similarly, openssh says :OpenSSH 7.0 and greater similarly disables the ssh-dss (DSA) public key algorithm. It too is weak and we recommend against its use. It can be re-enabled using the HostkeyAlgorithms configuration option.

If you cannot fix the server, you can google around and enable the local ssh-dss algorithm on the client.

        This is not an optical illusion, it just looks like one.

  • Comment on Re: 'No hostkey algorithm!' issue while using Net::SSH::Perl