因为自己在连接时遇到了坑, 所以特地写出来方便后来者。
1:首先创建一个新的连接
2:填写你的服务器IP地址:
3:出现了一个报错如下:
Key exchange failed.
No compatible key-exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,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
这是因为双方支持的加密套件不同,需要我们另外配置。
4:配置加密套件
右键这个配置,选择属性
5:增加支持的协议:(如果没有支持以下协议,请安装最新版本)
6:重新连接就会弹出输入密码窗口了
enjoy it :)