背景:SecureCRT 的SSH正常使用過程中,突然出現:
Key exchange failed。
No compatible hostkey.The server supports these methods:
RSA,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
解決步驟:
1.先是重啟服務器的sshd:service sshd restart
2.刪除secureCRT的SSH2.ini文件
3.重啟secureCRT
4.恢復正常
備注:因為參考了網上的方法都沒能恢復,這些操作是自己折騰搞得,哪一步奏效不太清楚,大家可以按步驟都試一下。