转自: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服务,问题解决。

 

相关文章:

  • 2021-08-15
  • 2021-06-22
  • 2022-12-23
  • 2021-04-22
  • 2022-02-12
  • 2021-12-09
  • 2021-07-20
猜你喜欢
  • 2022-12-23
  • 2021-11-22
  • 2021-09-16
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
相关资源
相似解决方案