[General] GitHub ssh configuration for git clone
#765
-
Your NameJeong Wonhee Question안녕하세요. 20210589 정원희입니다. VM 에 접속한 상태에서 과제 파일을 git clone 을 통해 로컬 환경으로 불러오려고 하는데, username 과 password 를 입력해야 하는 곳에서 막혔습니다. 여기에 무엇을 입력해야 할지 알려주시면 감사하겠습니다. |
Beta Was this translation helpful? Give feedback.
Answered by
bongjunj
Mar 3, 2025
Replies: 1 comment 1 reply
-
(You can see English version of this answer by clicking "Translate to English" button above) 안녕하세요 username과 password 입력을 받는 것을 보니 아래 방법을 통해 깃헙 서버에 VM을 인증시킬 수 있습니다.
> cat ~/.ssh/id_ed25519.pub
ssh-ed25519 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk bonjune@bongjunsthinkpad
Hi It seems that the GitHub server is not authenticating the VM that you are using. You can authenticate your VM to GitHub Server as follows:
> cat ~/.ssh/id_ed25519.pub
ssh-ed25519 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk bonjune@bongjunsthinkpad
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bongjunj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(You can see English version of this answer by clicking "Translate to English" button above)
안녕하세요
username과 password 입력을 받는 것을 보니
깃헙 서버가 정원희님이 사용하고 있는 VM을 인증(Authenticate)하지 못하고 있는 상황으로 보입니다.
아래 방법을 통해 깃헙 서버에 VM을 인증시킬 수 있습니다.
ssh-keygen -t ed25519
명령어를 실행합니다. 명령어 실행이 완료될 때까지 계속 Enter를 쳐주세요. 이는~/.ssh/id_ed25519
(비밀키),~/.ssh/id_ed25519.pub
(공개키) 쌍을 생성합니다.cat ~/.ssh/id_ed25519.pub
을 통해 아래와 같이 확인할 수 있습니다.git clone git@github…