私はgitを設定しようとしていますhttp://danielmiessler.com/study/git/#ウェブサイト私のサイトを管理するため。
指示の最後のステップまで進みました: git push website +master:refs/heads/master
私はWin7でgit ming32コマンドラインを使って作業しています
$ git push website +master:refs/heads/master
Bill@***.com's password:
Connection closed by 198.91.80.3
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ここで問題になるのは、プログラムが Bill@***.com を探していることです。SSH 経由で自分のサイトに接続すると、別のユーザー名 (「abc」とします) が使われます。したがって、これは abc@***.com であるべきかもしれません。そうであれば、これを変更する方法や、別名でプッシュできるかどうかはわかりません。
ベストアンサー1
SSHキーはSSHエージェントから削除された可能性があります
ssh-add ~/.ssh/id_rsa
ここで、id_rsaはgitリポジトリに関連付けられたsshキーです。
アップデート
Could not open a connection to your authentication agent.
解決するには、まず次の方法でエージェントを起動する必要があるというエラーが発生する場合があります。
eval `ssh-agent -s`