登录Ubuntu20.4时出现如下:
方法一:升级secureCRT到更高版本。缺点是注册机麻烦。
方法二:(亲测可用)
修改服务器:vim /etc/ssh/sshd_config
文件尾部增加:
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
//下面内容为CRT弹出内容加进去即可
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
保存退出。
systemctl restart sshd.service