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

Опубликовано: 07 Октябрь 2024
на канале: MKD Mixture
7,268
43

Hi All,

In this video you will get the solution how to fix SSH issue-

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

1st step-


Properties need to put in /etc/ssh/ssh_config & /etc/ssh/sshd_config are-

HostkeyAlgorithms +ssh-dss
PubkeyAcceptedKeyTypes +ssh-dss

you can try with below also-

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

2nd steps-
Properties need to put in /.ssh/config are -
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

3nd step-
ssh -oHostKeyAlgorithms=+ssh-dss



#ssh
#Unable to negotiate with
#nomatchinghostkeytypefound