“git push heroku”突然失败。 (我安装了Node.js,我认为它可能已经升级了一些东西并以某种方式打破了这一点。)突然间无法推送到heroku:“无法协商密钥交换方法”
我已阅读所有类似帖子;它并没有告诉我哪个交易是'提供'的,而且一切都看起来像是匹配的,但是通话失败了,我不知所措。
我做了heroku认证:登录成功。
ssh [email protected] -v
给了我下面的:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/jeff/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for * <This line is 'Host *'>
debug1: Connecting to heroku.com [50.19.85.156] port 22.
debug1: Connection established.
debug1: identity file /Users/jeff/.ssh/id_rsa type 1
debug1: identity file /Users/jeff/.ssh/id_rsa-cert type -1
debug1: identity file /Users/jeff/.ssh/id_dsa type -1
debug1: identity file /Users/jeff/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version endosome
debug1: no match: endosome
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr [email protected] none
debug1: kex: client->server aes128-ctr [email protected] none
Unable to negotiate a key exchange method
这定了!其他人也许是对的。我认为实际的问题是我已经指向过去工作的“[email protected]:”。所以我最好的猜测是我有一个支持这种语法的旧ssh,然后(意外)升级到最新版本就破坏了它。无论如何,它现在的作品! –
user3407688