1. SSH 키 생성
- 아래의 명령어로 키를 생성한다
ssh-keygen -t ed25519 -C "your_email@example.com"
- 아래의 명령어로 ssh-agent에 추가한다
eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519
2. Github에 키 등록
- ~/.ssh/id_ed25519.pub의 내용을 클립보드에 복사한다
- github에 로그인한 후, 계정 설정에 접속한다

- SSH and GPG key > SSH keys에서 New SSH key를 선택한다

- Key에 ~/.ssh/id_ed25519.pub의 내용의 복사하여 붙여넣고, 적절한 값을 입력하여 등록한다.

3. SSH 연결 확인
- 다음의 명령어를 입력해서 연결을 확인한다
ssh -T git@github.com

4. global config 등록
- 계정명과 이메일을 git global config에 등록한다
git config --global user.email "you@example.com" git config --global user.name "Your Name"