現象:高版本的ssh登陸低版本操作系統時,會提示:Unable to negotiate with x.x.x.x port xxx: no matching host key type found. Their offer: ssh-rsa,ssh-dss
ssh-keygen
vim .ssh/config
添加
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
現象:高版本的ssh登陸低版本操作系統時,會提示:Unable to negotiate with x.x.x.x port xxx: no matching host key type found. Their offer: ssh-rsa,ssh-dss
ssh-keygen
vim .ssh/config
添加
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa