2012-04-14 13 views
2

プロジェクト(Calico)をGitHubにプッシュしようとしていますが、エラーが発生しています。GitHub - > 'リモートエンドが予期せずハングアップしました'

[email protected] /C/inetpub/wwwroot/Calico (master) 
$ git push -u github master 
The server's host key is not cached in the registry. You 
have no guarantee that the server is the computer you 
think it is. 
The server's rsa2 key fingerprint is: 
ssh-rsa 2048 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 
Connection abandoned. 
fatal: The remote end hung up unexpectedly 

私は私を信じて:私は、コードをプッシュしようとしたとき、私はまだエラーが発生しますが

[email protected] /C/inetpub/wwwroot/Calico (master) 
$ ssh [email protected] 
Enter passphrase for key '/c/Users/Ryan/.ssh/id_rsa': 
Hi rossryan! You've successfully authenticated, but GitHub does not provide shel 
l access. 
Connection to github.com closed. 

:私は正常にssh接続経由でログインし、通常の応答を受信しましたGitHubを原点に置き換えて(原点は既に定義されているので、私は別の名前を使用した)、ウェブサイトからの忠実な指示に従った。私はこの問題についてGitHubに電子メールを送りましたが、応答はありませんでした。

誰にも他のアイデアはありますか?

EDIT:gitのリモート-vから

出力:(代わりmsysgitに付属パッケージ化のOpenSSHの)パテを使用する場合

[email protected] /C/inetpub/wwwroot/Calico (master) 
$ git remote -v 
github [email protected]:rossryan/Calico.git (fetch) 
github [email protected]:rossryan/Calico.git (push) 
origin C:/inetpub/wwwroot/Calico/ (fetch) 
origin C:/inetpub/wwwroot/Calico/ (push) 
+0

? –

答えて

1

git push origin master failsはそのエラーについてでした。私はそれがあなたの事件だとは思わない。

git - Server host key not cachedは、同じエラー程度であり、あなたが(それはあなたの$HOME/ssh/known_hostsファイルにgithubを追加することを提案しなかったので、これはどちらかの問題ではありませんSSH接続を確立することを提案する。

あなたがチェックする必要があることです。

  • は、なぜあなたは、デフォルト名の代わりにgithubに「origin」を推進している(?あなたは本当に「githubの」という名前のリモート(アップストリーム)レポを追加しました)
  • 正確にどのようなアドレスレムの後ろにあるお名前は 'github'。プッシュのための右のアドレスは(GitHub man page on remoteから)次のようになります。
+0

私は「github」と呼ばれるレポを追加したと思います。上記の編集にもっと詳しい情報が含まれています。 – user978122

+0

@ user978122 wait、なぜあなたの* local * repoのアドレスは '' origin''ですか?リモートのgithubは良いはずです。 '$ HOME/ssh/known_hosts'は存在すると思いますよね? – VonC

+0

PHPStormからのプッシュを実行したようです。 ;-) – user978122

関連する問題