git & github
[GitHub] git private clone 인증 관련
spare8433
2022. 8. 30. 18:54
오류 : Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
private repository
clone 하려던 중 아이디, 패스워드 치는데 오류가 났다.
패스워드 틀린줄 알고 한참 삽질하다 뒤늦게 발견하고 찾아보니 말 그래도 인증방식이 바뀌었단다.
오류를 소중히하자
비밀번호가 토큰(PAT : personal access token)이나 ssh key 둘 중 하나로 인증을 해야하는 듯 함
결론 : 인증 방식 바뀜
간단해 보이는 (PAT : personal access token) 로 인증해 보았다.
git 허브 설정에서 몇 가지 하면 되는데
Settings / Developer settings / personal access tokens 가서
Generate new token 한다음
발급 받은 토큰을 password 대신 쓰면 잘 해결 된다