处理高版本的ssh无法登陆低版本的节点
现象:高版本的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