Study: DeveloperTools(DevTool)/DevTool: Git
[Git] ssh 공개키 GitHub에 등록하기 (feat. github, bitbucket)
DrawingProcess
2022. 6. 21. 14:52
반응형
SSH Key 생성하고 공개 키(Public Key) 출력하기
SSH Key 생성
ssh-keygen -t rsa -b 4096
공개 키(Public Key) 가져오기
cat ~/.ssh/id_rsa.pub
공개 키 (Public Key) 를 GitHub에 등록하기
GitHub
- GitHub 접속/로그인 >> Account(오른쪽 상단 프로필) >> Settings
- SSH and GPG keys >> New SSH key
- SSH keys / Add new : Title, Key 등록 >> Add SSH key 버튼 클릭
Bitbucket
- Bitbucket 접속/로그인 >> Account(오른쪽 상단 프로필) >> Personal settings
- SSH keys(왼쪽 바) >> Add key 버튼 클릭
- Label, Key 등록 >> Add key 버튼 클릭
참고
- [GitHub] SSH-Key 생성하고 공개 키 GitHub에 등록하기: https://rfriend.tistory.com/603
반응형