secureCRT连接ubuntu20.4报错

2022-11-28  本文已影响0人  讲武德的年轻人

vim /etc/ssh/sshd_config

加入这一行,并重启ssh服务:

KexAlgorithms curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1

原因:老版crt和ubuntu20.4加密算法不匹配

上一篇 下一篇

猜你喜欢

热点阅读