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
    Configure Automatic su or sudo
    Viewed 2938 times since Thu, Jun 15, 2017
    vi editor having issues while logged in via ezeelogin
    Viewed 1398 times since Wed, Jun 14, 2017
    "Error: LDAP extension is not installed".
    Viewed 2076 times since Fri, Sep 8, 2017
    ALERT: REMOTE HOST IDENTIFICATION HAS CHANGED! Contact Administrator.
    Viewed 2066 times since Wed, Jun 14, 2017
    stdin: is not a tty TERM Environment variable not set error
    Viewed 772 times since Fri, Jul 20, 2018
    LDAP verification failed. Connection to {hostname} closed.
    Viewed 660 times since Fri, May 18, 2018
    usernames already exists
    Viewed 211 times since Fri, Mar 15, 2019
    Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session
    Viewed 542 times since Thu, Sep 6, 2018
    Failed to Connect to IP: Permission Denied cPanel / WHM login
    Viewed 2402 times since Thu, Jun 15, 2017
    unable to ssh because ip not allowed because none of user’s groups are listed in AllowGroups
    Viewed 7489 times since Thu, Jun 15, 2017