git初心者です。
git push heroku master のコマンドをGit Bashに打ち込んで、Runforit1という名のプロジェクトをHerokuに上げようとしているのですが、以下のエラーが出てうまくいきません。
ssh:conect to host heroku.com port 22 : connection timed out fatal:Could not read from remote repository Please make sure you have the correct access rights and the repository exists
このコマンドを入れるまでに入れたコマンドは次の通りです。
$heroku login $eval "$(ssh-agent)" $ssh-add ~/.ssh/id_rsa
git remote -v で見ると、リモートリポジトリはこの通りです。
heroku git@heroku.com:runforit.git (fetch) heroku git@heroku.com:runforit.git (push)
git config の内容は以下です。
Host github HostName github.com IdentityFile ~/.ssh/id_rsa User git Host heroku User git HostName heroku.com Identityfile ~/.ssh/id_rsa Port 22 TCPKeepAlive yes IdentitiesOnly yes
HerokuにもGitHubにも生成した同じsshを登録してあります。
Herokuへのpushが成功する方法をどうかご教授ください。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。