개발 => 복습 후 재정리 대기/Git
[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
목차
windows 기준.
AWS EC2 git clone 시 발생한 에러.
8월 13일 부로 push, clone, pull 시 비밀번호 대신 토큰을 사용하게 변경됨.
Personal access token 이용 로그인 방법 정리.
1. https://github.com/ 접속 + 로그인
2. 우측 상단 Profile 클릭 후 Settings 클릭
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 2. 우측 상단 Profile 클릭 후 Settings 클릭 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 2. 우측 상단 Profile 클릭 후 Settings 클릭](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
3. 좌측 하단 Developer settings 클릭
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 3. 좌측 하단 Developer settings 클릭 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 3. 좌측 하단 Developer settings 클릭](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
4. 좌측 중단 Personal access toekns 클릭 -> Generate new token 클릭
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 4. 좌측 중단 Personal access toekns 클릭 -> Generate new token 클릭 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 4. 좌측 중단 Personal access toekns 클릭 -> Generate new token 클릭](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
5. Access token 생성
- Note: 토큰 용도
- Select Scopes: 해당 토큰에 부여할 권한을 선택한다.
- Generate Token: 토큰을 생성하는 버튼을 클릭해준다.
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 5. Access token 생성 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 5. Access token 생성](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 5. Access token 생성 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 5. Access token 생성](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
6. Personal access token 생성 완료 확인, 보관
나중에 다시 확인할 수 없으니 반드시 따로 보관
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 6. Personal access token 생성 완료 확인, 보관 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 6. Personal access token 생성 완료 확인, 보관](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
7. 자격증명 설정
제어판 -> 자격 증명 관리자 클릭
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 7. 자격증명 설정 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 7. 자격증명 설정](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
windows 자격증명 -> 등록된 git 제거 -> 일반 자격 증명 추가
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 7. 자격증명 설정 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 7. 자격증명 설정](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
자격 증명 재등록
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 7. 자격증명 설정 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 7. 자격증명 설정](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
8. 마무리
다시 push 시도 시 2. Personal access token 선택 후
Token: 발급받은 토큰 입력하면 정상적으로 push 완료!
![[Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 8. 마무리 [Git] 토큰 인증 로그인 + 자격 증명 - remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. - 8. 마무리](http://t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png)
'개발 => 복습 후 재정리 대기 > Git' 카테고리의 다른 글
[Git] Pull Request 후 수정 (2) | 2021.12.18 |
---|---|
[Git] cherry-pick 하는 법 (2) | 2021.12.06 |
[GIT] .gitignore (0) | 2021.06.10 |
[Git] 꾸미기 (0) | 2021.05.18 |
[Git] 명령어 모음 (0) | 2021.05.01 |
댓글