「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