펭귄은 terminal에서 git clone을 사용하던 중 아래와 같은 에러를 만났다.
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
위 에러가 발생한 원인은 아래와 같다.
- git@github.com에 연결된 ssh key가 설정되어 있지 않다.
위 에러는 아래와 같은 방법으로 해결할 수 있다.
- ssh key를 만든다.
- ssh key를 github 계정에 등록해 준다.
해당 오류를 해결하는 방법에 관한 내용은 아래 링크에 자세히 설명되어 있다.
https://medium.com/@su_bak/git-github-com-permission-denied-publickey-에러-해결-방법-76b0ab741c62
git@github.com: Permission denied (publickey) 에러 해결 방법
git push 또는 git pull 명령어를 시도했을 때 아래와 같은 에러가 발생하는 경우가 있습니다
medium.com
'IT' 카테고리의 다른 글
[error, python] ValueError: math domain error 정리 (0) | 2024.06.04 |
---|---|
[Linux, 명령어] 서버 통신 테스트 / telnet / curl -v (0) | 2024.05.27 |
[Linux, 명령어] unzip 사용법 분석 (0) | 2024.05.08 |