If you try to ssh to your server and getting this error:
no hostkey alg

Try to run this command at your terminal:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

By zam

Related Post

One thought on “SSH refusing connection with message “no hostkey alg””

Leave a Reply to davehedgeCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.