No matching host key type found for Jump Server

Hi Support,

I am trying to create a connection to remote server through jump server. When I tried to connect, it prompt me this error.

Unable to negotiate with 172.jj.zz.206 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

As I know this error should be for the jump server, but I already added the "ssh-dss" as you can see command below. But still not success. Kindly advise any solution.

Equivalent Command: ssh -4 -J mam@172.jj.zz.206 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=no -o HostKeyAlgorithms=+ssh-dss -o ServerAliveInterval=15 -p 22

Thank you for supporting.

Please navigate to Preferences > Advanced:

Edit config file, paste following content:

Host 172.jj.zz.206
    HostKeyAlgorithms +ssh-dss

Then reconnect to the host.

Kindly Regards,


Hi Yang,

Thank you for the solution. It is working now.
You may close the case.

Best regards,

Glad to hear that :smiley: