그 외
[Git] - git@github.com: Permission denied (publickey).
Agrafenaaa
2023. 1. 4. 11:09
<ISSUE>
: Unavailable to git clone(or pull or push) a repository despite the registered public key in the git account.
<Solution>
: Check if the registered ssh key in yout git account has been added in your local mac system. It is automatically or undetectably removed from a list of ssh keys in a local environment.
// show a list all added ssh keys
ssh-add -l
// add the existing ssh key which has already been registered in git account, otherwise necessary to generate another one.
// file extension "pub" is omitted and name also varies on your own file.
ssh-add ~/.ssh/id_rsa
👀 Refer to the more detailed information from my previous post. -> https://goreotuma.tistory.com/120