아래와 같이 git push 명령어 입력 시 올바른 계정과 비밀번호를 입력해도 push 되지 않는 문제가 있었다.

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/~'

 

비밀번호 입력 시 token을 입력해야 하는데, token 발급은 다음과 같이 진행한다.

 

  • github 페이지 우측 상단 계정 클릭
  • Setting 클릭
  • 좌측 하단부의 Developer settings 클릭
  • 좌측의 Personal access tokens 클릭
  • 우측의 Generate new token 클릭
  • 이후 이름과 필요한 권한을 설정하고  token 생성
  • 비밀번호 입력시 생성한 token 입력

+ Recent posts