在google上找了很久都没结果,现在求助于个位大侠,希望能得到解决,我以同样的方式将其提交给github时却是成功的,部署的项目见:https://github.com/lzqwebsoft/websoft-blog 我的是window 7 小子再次拜谢了!! [最优解释] 回上楼, 后面跟着 type -1 表示没有那文件, type 1 表示有那个文件,
我的文件下只有三个文件, 和你的一样,
但那你的ssh -v显然是没有扫描那个文件 debug1: identity file /home/user/.ssh/identity type -1
我的版本是 OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
我试下这个版本看看,,
-t 是测试的意思, 你的测试结果是说“被远程主机关闭了连接”
[其他解释] 因为不想沉!所以顶!! 这个模块的人好冷啊~~~
[其他解释] 是你的ssh生成码没有粘到heroku上。
正常情况应该会像我下面那样
$ ssh -v git@heroku.com OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to heroku.com [50.19.85.132] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/identity type -1 debug1: identity file /home/user/.ssh/id_rsa type 1 debug1: identity file /home/user/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version Twisted debug1: no match: Twisted debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.3 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: sending SSH2_MSG_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY The authenticity of host 'heroku.com (50.19.85.132)' can't be established. RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad. Are you sure you want to continue connecting (yes/no)? no Host key verification failed.