xshell4连接ssh时报错:no matchin goutgoing encryption algorithm
解决办法参见:
1.sudo vi /etc/ssh/sshd_config
#在/etc/ssh/sshd_config中增加上述的三行配置信息
Ciphers "aes128-cbc"
MACs "hmac-md5"
KexAlgorithms "diffie-hellman-group1-sha1"
注意:我这里仅使用了参考连接中的第一个配置项 ,并且都使用了双引号的,不加双引号或者配置项多了时,重启ssh服务会报错。
Reference:
https://blo...
原创
2021-02-02 17:28:32 ·
610 阅读 ·
0 评论