现象和原因: openssh升级新版本后,旧的算法不再支持,导致CRT工具远程连接的时候连接不上 (旧的客户端不能连接新的服务端) 解决办法: 在ssh服务端配置添加配置如下: #添加支持的加密算法 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org #添加ssh-rsa算法 HostKeyAlgorithms +ssh-rsa
https://www.openssh.com/txt/release-8.8
http://www.openssh.com/releasenotes.html#9.0
参考:
ssh连接不上解决_aiqing0119的博客-CSDN博客_kexalgorithms



