FAIL : SSHException: Incompatible ssh peer (no acceptable kex algorithm)問題解決及更新paromiko失敗問題解決


轉自:http://blog.csdn.net/qy924565830/article/details/52164256

http://blog.csdn.net/coder_xia/article/details/50382278

 

問題描述:運行paromiko連接遠程服務器失敗:FAIL : SSHException: Incompatible ssh peer (no acceptable kex algorithm)

定位原因:由於ssh 6.7以上屏蔽不安全算法

解決辦法:在/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

重啟ssh服務,問題解決。

 


免責聲明!

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



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