Github で Permission denied (publickey). と言われた時

More than 1 year has passed since last update.

Error

$ git push -u origin master                                                                           
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

解決策

GitHub の ssh の設定 に公開 (~/.ssh/id_rsa.pub) を登録すればよい。

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.