いつもと違うキーの名前にしたせい? 僕が作ったSSHの秘密鍵はpersonalidの名前だった。
以下
> git push origin master master [9189f99] Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
のエラーでpushできない。
ssh-add ~/.ssh/personalid
これは公開鍵(.pub)ではなくて、秘密鍵(.pubがないやつ)。 これでキーを作った時のパスフレーズを入力。
そしたらいけた。