因為自己在連接時遇到了坑, 所以特地寫出來方便后來者。
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 :)