ubuntu19 SSH登陆出现错误Algorithm Negotiation failed when trying to connect to server 解决方案

#配置config文件
sudo vim /etc/ssh/sshd_config


#最底行添加

KexAlgorithms +diffie-hellman-group1-sha1
Ciphers +aes128-cbc


#重启SSH

sudo /etc/init.d/ssh restart

发布了50 篇原创文章 · 获赞 3 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_41865104/article/details/91185886