반응형
클론
-
[github & ubuntu] 우분투 서버 깃허브에서 파일 받아오기(git clone) / Permission denied (publickey). 오류 해결git 2022. 3. 18. 01:33
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 라는 에러가 뜬다면, ssh key를 github상에 입력해주면 해결이 된다. ssh-keygen -t rsa -C "[github 계정 이메일]" 위와 같이 ssh_key를 형성한다. 형성되는 위치는 아래와 같다. 이 폴더는 그냥 ls 명령어로는 안보이는데, 서버의 첫 화면에서 ls를 하면 아래와 같이 그냥 폴더들 등이 나오지만 ls -al ls -al 명령어를 입력하면 아래와 같이 더 많은 파일과..