use*_*688 5 git ssh ssl ruby-on-rails heroku
"git push heroku"突然失败了.(我安装了Node.js,我认为它可能升级了一些东西并以某种方式破坏了它.)
我已经阅读了所有相似的帖子; 它没有告诉我哪个交易所"提供",而且一切看起来都匹配,但是通话失败了,我不知所措.
我做了heroku auth:登录成功.
ssh git@heroku.com -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 hmac-sha2-256-etm@openssh.com none
debug1: kex: client->server aes128-ctr hmac-sha2-256-etm@openssh.com none
Unable to negotiate a key exchange method
Run Code Online (Sandbox Code Playgroud)
dai*_*aik 11
我今天早上遇到同样的问题.
我可以通过更改git remote url来避免这个问题,如下所示.
来自:git@heroku.com:app-name.git
to:https: //git.heroku.com/app-name.git
你可以使用下面的命令
git remote rm heroku
git remote add heroku https://git.heroku.com/app-name.git
| 归档时间: |
|
| 查看次数: |
663 次 |
| 最近记录: |