跳至主要内容

博文

目前显示的是标签为“history”的博文

(migrated)Q&A

  * 旧版SecureCrt不能连接新版本的sshd服务器 报错如下: Key exchange failed. No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 原因分析: 旧版SecureCrt(版本号6.7.0 (build 153))支持的密钥交换( Key exchange)为以下5种:     Kerberos      Kerberos(Group Exchange)     Diffie-hellman-group14     Diffie-hellman-group     Diffie-hellman 这5种均不被新的sshd支持, 当前sshd版本信息为:           Op enSSH_8.3p1, OpenSSL 1.1.1j  16 Feb 2021 处理方式: 修改/etc/ssh/sshd_config文件, 添加(我是在文件最后添加): KexAlgorithms diffie-hellman-group14-sha1 然后重启sshd: #service sshd restart 即可 (看参考的文档, 说的是添加: KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hel...