SecureCRT 登录Ubuntu(版本20.04)失败Key exchange failure(解决Ubutu密钥交换失败的问题)

Ubuntu版本20.04

确保Ubuntu安装了openssh-server与openssh-client并启用服务;

使用SecureCRT 登录,报如下错误:

Key exchange failed.
No compatible key-exchange method. The server supports these methods: curve25519-sha256,[email protected],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

由提示可知为Ubutu密钥交换失败导致的问题,打开SecureCRT ->会话选项->SSH2,如下图:

SecureCRT 登录Ubuntu(版本20.04)失败Key exchange failure(解决Ubutu密钥交换失败的问题)_第1张图片

看下密钥交换这里是否有上图这些类型,如果没有(可能最后一个是diffie-hellman),下载SecureCRT新版本(如8.5以上)。

勾选之前提示的多种类型的其中一个,重新连接即可。

 

你可能感兴趣的:(ubuntu,linux)