Unable to negotiate with x.x.x.x port xxxx: no matching host key type found. Their offer: ssh-rsa,ssh-dss fatal: Could not read from remote repository.
- 进入ssh文件夹,查看
config
. 如果没有,则创建一个
cd ~/.ssh/
vim config
config
中添加上目标host,即可
Host x.x.x.x
HostKeyAlgorithms +ssh-rsa,ssh-dss