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
    LDAP verification failed. Connection to {hostname} closed.
    Viewed 1348 times since Fri, May 18, 2018
    Configuration and error log files to check for troubleshooting
    Viewed 6675 times since Thu, Jun 15, 2017
    Error: Reached maximum number of servers allowed by current license. Please upgrade license to add more servers.
    Viewed 2634 times since Thu, Nov 2, 2017
    strange characters in the SSH logs recordings
    Viewed 2776 times since Thu, Jun 15, 2017
    Error occured. Please contact the administrator - Permission Denied - creation failed
    Viewed 2284 times since Thu, Jun 15, 2017
    Disabling reCAPTCHA
    Viewed 3538 times since Wed, Jun 14, 2017
    vzctl enter veid fails. Unable to get term attr: Invalid argument
    Viewed 3038 times since Wed, Jun 14, 2017
    ALERT: REMOTE HOST IDENTIFICATION HAS CHANGED! Contact Administrator.
    Viewed 5609 times since Wed, Jun 14, 2017
    UnAuthorized IP Address when using proxy
    Viewed 441 times since Mon, Jun 1, 2020
    ssh session slow and not responsive
    Viewed 2882 times since Thu, Jun 15, 2017