openssh9.0p1 升级后客户端连不上问题处理
版权声明:本文为 CSDN 博主「筑梦之路」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载
请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_34777982/article/details/124398940
现象和原因:
openssh 升级新版本后,旧的算法不再支持,导致 CRT 工具远程连接的时候连接不上
(旧的客户端不能连接新的服务端)
解决办法:
在 ssh 服务端配置添加配置如下:
#添加支持的加密算法
KexAlgorithms
diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-h
ellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-he
llman-group1-sha1,[email protected]
#添加 ssh-rsa 算法
HostKeyAlgorithms +ssh-rsa
https://www.openssh.com/txt/release-8.8
http://www.openssh.com/releasenotes.html#9.0
评论0