tozh

导航

macbook远程连接报错no matching cipher found

 

 

在.ssh/目录下添加config文件

Host xxx.xxx.xxx.xxx
Ciphers 3des-cbc
KexAlgorithms +diffie-hellman-group1-sha1
user xxx
Host xxx.xxx.xxx.xxx
Port 50022

 

再次连接即可

 

 

参考:https://unix.stackexchange.com/questions/402746/ssh-unable-to-negotiate-no-matching-key-exchange-method-found

 

posted on 2019-02-16 15:56  tozh  阅读(1326)  评论(0编辑  收藏  举报