반응형

SSH키를 생성하는 방법은 아래 링크 참조

https://ansan-survivor.tistory.com/275

 

[Github] SSH키 생성하기

SSH키가 무엇인지 궁금하면 아래 블로거님 자료를 읽어본다. https://thisblogfor.me/web/ssh/ SSH 기본개념 & SSH 깃헙 연결하기 SSH 기본개념 & SSH 깃헙 연결하기 ssh,암호화,네트워크 ssh에 대한 기본개념과 s

ansan-survivor.tistory.com

 

1.

2.

3.

 

4.

    Title에 원하는 이름 쓰기

    ssh key-gen으로 생성한 파일 id_rsa.pub 내용을 붙여 넣는다.

    Add SSH key 클릭

5. 그러면 나의 SSH Keys 목록에 생성된다. 

   위 SSH는 내가 사용하는 키가 이미 있기때문이다.

   이렇게 여러개의 SSH키를 생성하고 Github 서버에 해당 SSH는 유효하다고 등록을 시켜주는 것이다.

 

이제 내가 SSH키를 발급받은 컴퓨터는 Github 서버와 Read/Write를 할 수 있다.

(테스트)

.ssh키를 등록안하면 위와 같은 오류가 발생한다.
등록하면 아래와 같이 git clone 명령이 먹힌다.

반응형

'버전관리 > Github \ Git' 카테고리의 다른 글

[Github] Windows Bash SSH키 생성하기  (0) 2020.08.22
반응형

SSH키가 무엇인지 궁금하면 아래 블로거님 자료를 읽어본다.

https://thisblogfor.me/web/ssh/

 

SSH 기본개념 & SSH 깃헙 연결하기

SSH 기본개념 & SSH 깃헙 연결하기 ssh,암호화,네트워크 ssh에 대한 기본개념과 ssh github 사용방법 https://unsplash.com/@matthewhenry SSH는 무엇이고 어떻게 사용하며 어떤 부분이 편리한지에 대해 알아본다.

thisblogfor.me

위 블로거님 링크에서 발췌 (출처:https://thisblogfor.me/web/ssh/)

 

필자는 Window10에서 Git bash를 사용하기 위해 아래 프로그램을 다운받고 이를 통해 진행하였다.

https://gitforwindows.org/

 

Git for Windows

Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. Git BASH Git for Windows provides a BA

gitforwindows.org

 

공식사이트인 Gibhub 아래 링크 참조.

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

 

Generating a new SSH key and adding it to the ssh-agent - GitHub Docs

Generating a new SSH key and adding it to the ssh-agent After you've checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to the ssh-agent. Mac Windows Linux All If you don't already have an SSH key, you must

docs.github.com

1.

ssh-keygen -t rsa -b 4096 -C "이메일 주소"

2.

4.

5. 해당 위치에 .ssh 폴더가 생겼을 것이다. 확인해본다.

6. 폴더를 열어보면 아래와 같이 3가지 파일이 들어있다.

(id_res.pub 파일의 내용을 Github 서버에 등록시켜주면 된다.)

파일을 열어보면 ssh-rsa 로 시작하고 그 뒤에는 암호화 코드들이다.

반응형

SSH키를 Github에 등록시키는 방법은 아래 링크 참조

https://ansan-survivor.tistory.com/276

 

[Github] 발급받은 SSH키 Github 서버에 등록 시키기

SSH키를 생성하는 방법은 아래 링크 참조 https://ansan-survivor.tistory.com/275 [Github] SSH키 생성하기 SSH키가 무엇인지 궁금하면 아래 블로거님 자료를 읽어본다. https://thisblogfor.me/web/ssh/ SSH 기..

ansan-survivor.tistory.com

 

반응형
1

+ Recent posts