secureCRT 6.5 ssh登陸openeuler提示交換秘鑰不支持


問題描述

Key exchange failed. No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
No compatible MAC. The server supports these MACs: hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com 

分析就是沒有找到交換米秘鑰的算法,導致失敗

問題解決

方法1、升級secureCRT
SecureCRT9.0

方法2、注釋掉最新的交換密碼改為老的秘鑰交換(可能是不安全,但也沒辦法)

/etc/ssh/sshd_config
#Ciphers
#MACs
#KexAlgorithms

新增兼容性的秘鑰交換
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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM