當您在使用SecureCRT連接Debian系統時遇到“Key exchange failed”錯誤,可以嘗試以下步驟來解決問題:
/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
sudo systemctl restart sshd.service
sudo systemctl stop firewalld
通過以上步驟,您應該能夠解決SecureCRT連接Debian系統時遇到的“Key exchange failed”錯誤。如果問題仍然存在,請檢查服務器的日志文件 /var/log/auth.log
以獲取更多詳細的錯誤信息,并根據日志提示進行進一步的排查。