1.编辑/etc/ssh/sshd_config,在最下面添加如下语句
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
2.使用命令ssh-keygen -A,记下生成的key
3.在navicat中使用相应的SSH选项,并在密码短语中填写上述key,再按常规