Ubuntu 16.04 ssh 登陆出现错误Algorithm Negotiation failed when trying to connect to server 解决

以下是ubuntu 16.04 远程登陆ssh出现如下错误修复办法


1 终端打开:打开以下文件:/etc/ssh/sshd_config

2将以下两行写入打开文件末尾,退出并且保存

KexAlgorithms +diffie-hellman-group1-sha1
Ciphers +aes128-cbc
3重启ssh服务:/etc/init.d/ssh start 
4重启电脑sudo reboot
5开启ssh服务/etc/init.d/ssh start 

猜你喜欢

转载自blog.csdn.net/hoeniu/article/details/78418218