解决ssh 登陆失败: no matching host key type found. Their offer: ssh-dss

版权声明:本文为博主原创文章,未经博主允许不得转载。转载请标注出处: https://blog.csdn.net/sheji105/article/details/86672464

gedit ~/.ssh/config

加入内容:

# ssh_server为要登录的地址

Host ssh_server
HostKeyAlgorithms +ssh-dss

具体内容可看:

Using OpenSSH with legacy SSH implementations:http://www.openssh.com/legacy.html

猜你喜欢

转载自blog.csdn.net/sheji105/article/details/86672464
今日推荐