SSH报错no matching host key type found. Their offer: ssh-rsa - Wed, Oct 27, 2021
SSH 报错 no matching host key type found. Their offer: ssh-rsa
解决方法:
ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa name@host -p 22
配置~/.ssh/config
:
Host *
Hostname ${x.x.x.x}
User ${name}
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa