헤더

github repository 연결 ssh 생성

Posted by 소상공인 손실보상 정책자금 대출
2021. 1. 5. 18:26 카테고리 없음
test11`````````````````````````

   

create a new repository를 클릭한뒤

 

 

 

 

주소 클릭 

https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent 

 

 

위 절차대로 진행한다 

 

 

ssh-keygen -t ed25549 -C "본인 github 아이디"

 

위 절차로 ssh 키를 만들었다.

 

 

스크롤을 밑으로 더 내리면

 

 

 

 

 

 

 

ssh private 키를 ssh -agent 에 add 해준다 

 

 

 

그다음 ssh public 키를 깃허브에 add 해줘야한다.

 

 

pbcopy <~/ 

위 절차를 진행하면 자동으로 ssh public 키가 복사된다.

 

커맨드에 위 명령어를 입력한다.

 

 

 

그 후 메모장을 키고 command + v 키를 누르면 자동으로 복사되었다 public키를 볼 수 있다.

 

 

 

 settings  - ssh and gpg keys - new ssh key 클릭 후

위 publick 키를 붙여넣기 

 

 

 

 

위에서 부터 차례로 절차를 진행한다.

저는 중간에 몇가지를 미리 해놓았기때문에 하지 않은 절차위주로 마무리 했습니다.

그 후 새로고침

 

test22`````````````````````````