SecureCRT远程ubuntu报错
说明:
- SecureCRT远程ubuntu的时候出现报错。如下:
1 | Key exchange failed. |
解决方法:
- 在ubuntu的ssh配置文件: /etc/ssh/sshd_config文件中添加中添加一行配置
1 | KexAlgorithms curve25519-sha256@libssh.org,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 |
重启ssh服务
1 | service sshd restart |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 HCIE Jiang!
评论
ValineWaline