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.
    Related Articles RSS Feed
    Disabling reCAPTCHA
    Viewed 2197 times since Wed, Jun 14, 2017
    Connection has been closed. Another user may have logged in on the remote windows machine
    Viewed 2381 times since Thu, Jun 15, 2017
    Class ’DOMDocument’ not found
    Viewed 554 times since Thu, Oct 25, 2018
    Failed to Connect to IP: Permission Denied cPanel / WHM login
    Viewed 2757 times since Thu, Jun 15, 2017
    no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
    Viewed 3893 times since Tue, Jan 2, 2018
    Google Recaptcha shutdown issue
    Viewed 780 times since Tue, Jul 3, 2018
    Unable to access Control Panel Error: Error occurred while communicating with the server
    Viewed 1569 times since Thu, Jun 15, 2017
    ’Failed to establish SSH session ’
    Viewed 1722 times since Fri, Jun 22, 2018
    Could not setup Ezeelogin Web SSH service
    Viewed 2029 times since Sat, Nov 18, 2017
    unable to ssh because ip not allowed because none of user’s groups are listed in AllowGroups
    Viewed 8854 times since Thu, Jun 15, 2017