개발 이슈

The project you were looking for could not be found or you don't have permission to view it. 에러

주인장 꼬비 2023. 5. 8. 17:49
remote: 
remote: ========================================================================
remote: 
remote: The project you were looking for could not be found or you don't have permission to view it.
remote: 
remote: ========================================================================
remote: 
fatal: Could not read from remote repository.

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

 

ssh-add ~/.ssh/id_rsa 로 추가도 해봤는데 어림없이 안됨

 

인터넷 찾아보면서 이것저것 해보니 eval `ssh-agent -s` 한 다음

 

harry@MacBookPro % eval `ssh-agent -s`
Agent pid 87497

 

다시 ssh 키 추가해주고 

harry@MacBookPro % ssh-add ~/.ssh/id_rsa
Identity added: /Users/harry/.ssh/id_rsa (harry@company.net)

 

pull 받으니깐 됨

harry@MacBookPro diamond-castle % git pull
remote: Enumerating objects: 84, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 84 (delta 37), reused 48 (delta 14), pack-reused 0
Unpacking objects: 100% (84/84), 53.60 KiB | 1.14 MiB/s, done.