【问题标题】:paramiko no acceptable kex algorithm while ssh to el capitanparamiko 在 ssh 到 el capitan 时没有可接受的 kex 算法
【发布时间】:2016-04-19 01:32:59
【问题描述】:

我正在使用 python 2.7 和 paramiko 1.16

在尝试通过 SSH 连接到 el capitan 时,paramiko 抛出异常 no acceptable kex algorithm。我尝试在 sshd_config 中设置 kex、cyphers,但由于某些原因无法重新启动 sshd。我尝试了一些客户端修复,但升级 paramiko 并没有解决问题。

【问题讨论】:

  • 请描述您尝试的修复和其他失败消息。
  • 我已经将 paramiko 升级到 1.20.0,但仍然遇到同样的问题。

标签: python ssh paramiko


【解决方案1】:

通过将以下 cipher/mac/kex 设置放入 sushi_config 来解决另一个堆栈溢出问题: 密码 aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes128-ctr MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160 ,hmac-sha1 Kex 算法 diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1

【讨论】:

    猜你喜欢
    • 2011-11-09
    • 1970-01-01
    • 2015-06-27
    • 2016-09-19
    • 1970-01-01
    • 1970-01-01
    • 2023-03-12
    • 2016-07-07
    • 2016-05-08
    相关资源
    最近更新 更多