根据网上的方案

1:编辑/etc/ssh/sshd_config

在最下面新增

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

2:修改ssh_config

打开这两行的注释

secureCRT 登录 ubuntu报错No compatible key exchange method_重启

重启sshd服务

还是不行 

最后又下载了新版的crt 可以正常登陆

crt需要用注册机po jie