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 enbled 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.
    Related Articles RSS Feed
    Unable to add server using putty private key key pair. How to convert PPK file OpenSSH format
    Viewed 2050 times since Thu, Jun 15, 2017
    Why does the ssh log have control characters and looks different from the actual input?
    Viewed 1332 times since Thu, Jun 15, 2017
    sshd[902]: debug1:PAM: password authentication failed for an illegal user: Authentication failure
    Viewed 1815 times since Thu, Feb 1, 2018
    ssh session slow and not responsive
    Viewed 1558 times since Thu, Jun 15, 2017
    unable to ssh because ip not allowed because none of user’s groups are listed in AllowGroups
    Viewed 5655 times since Thu, Jun 15, 2017
    Unable to add server into Ezeelogin via webinterface. Password error, times out
    Viewed 1172 times since Wed, Jun 14, 2017
    Unable to login into cpanel/whm with one click
    Viewed 2595 times since Wed, Jun 14, 2017
    reCaptcha images not loading
    Viewed 1618 times since Wed, Jun 14, 2017
    Blank page when accessing Ezeelogin web panel or GUI
    Viewed 1808 times since Wed, Jun 14, 2017
    usernames already exists
    Viewed 47 times since Fri, Mar 15, 2019