no matching host key type found. Their offer: ssh-rsa,ssh-dss [preauth]

'no matching host key type found. Their offer: ssh-rsa,ssh-dss [preauth]' got this error in /var/log/secure 

Check if  'ssh_host_rsa_key / ssh_host_dsa_key'is enabled on your /etc/ssh/sshd_config

If not enabled add or uncomment the following in /etc/ssh/sshd_config

 

HostKey /etc/ssh/ssh_host_rsa_key

HostKey /etc/ssh/ssh_host_dsa_key

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.