我无法连接到要求diffie-hellman-group1-sha1
密钥交换方法的服务器:
ssh 123.123.123.123
Unable to negotiate with 123.123.123.123 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
如何diffie-hellman-group1-sha1
在Debian 8.0上启用密钥交换方法?
我曾尝试(如建议在这里),以
将以下行添加到我的
/etc/ssh/ssh_config
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
重新生成密钥
ssh-keygen -A
重新启动ssh
service ssh restart
但仍然得到错误。
我有同样的发生在我和Debian 9
—
瑞˚F里贝罗
试试这个diffie-hellman-group-exchange-sha256
—
Miguel