remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

2021. 8. 14. 21:45ใ†๐Ÿ“” TIL

2021๋…„  8์›” 13์ผ ๋ถ€๋กœ ๊นƒํ—™์˜ ๋ชจ๋“  operation/action(?) ์— ๊ฐœ์ธ token์„ ์ž…๋ ฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

์ €๋Š” git push ๋ฅผ ํ•  ๋•Œ, ์ด๋Ÿฐ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๋ฅผ ๋ฐ›์•˜๋Š”๋ฐ,

๊ฐœ์ธ ํ† ํฐ์„ ๋ฐœ๊ธ‰ ๋ฐ›์€ ํ›„์—๋„ ์–ด๋””์—๋‹ค ๊ฐœ์ธ ํ† ํฐ์„ ์ž…๋ ฅํ•ด์•ผ ํ• ์ง€ ๋ชฐ๋ผ ํ•œ์ฐธ ํ•ด๋ฉจ์Šต๋‹ˆ๋‹ค.

 

1. github์˜ ๊ฐœ์ธ settings ํŽ˜์ด์ง€๋กœ ๊ฐ‘๋‹ˆ๋‹ค.

2. Developer Settings, click

 

3. personal access tokens ํƒญ์„ ํด๋ฆญ ํ›„ generate new token ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

4. note์— ์ œ๋ชฉ์„ ์ž…๋ ฅํ•˜๊ณ , ์ž‘์—… ๋ฒ”์œ„๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ์ €๋Š” git push ์šฉ๋„๋กœ repos ๋ฅผ ์„ ํƒํ•˜์˜€์Šต๋‹ˆ๋‹ค.

 

 

 

5. token ๊ฐ’์ด ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ํ•ด๋‹น ํ† ํฐ์„ ๋น„๋ฐ€์Šค๋Ÿฌ์šด ๊ณณ์— ์ž˜ ๊ฐ์ถฐ๋‘์‹œ๊ณ  ํ•„์š”ํ•  ๋•Œ๋งˆ๋‹ค ์‚ฌ์šฉํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

์ด์ œ git push ๋ฅผ ํ•ด๊ฒฐํ•˜๋Ÿฌ ๊ฐ€๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

 

 

6. ๋งฅos ์œ ์ €๋ผ๋ฉด spotlight์—์„œ keychain ์„ ๊ฒ€์ƒ‰ํ•ฉ๋‹ˆ๋‹ค.

7. ๋‹๋ณด๊ธฐ์— github ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๊ณ ,  ๋ชฉ๋ก์—์„œ github.com ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

 

 

 

8.  ์•”ํ˜ธ๋ณด๊ธฐ ์ฒดํฌ๋ฐ•์Šค๋ฅผ ํด๋ฆญํ•˜๋ฉด, ์šฐ๋ฆฌ๊ฐ€ ๋ฐœ๊ธ‰๋ฐ›์€ ํ† ํฐ๊ฐ’์„ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด์ œ ์ž๋™์œผ๋กœ ์ธ์ฆ์ด ์™„๋ฃŒ๋œ ์ƒํƒœ์ด๋ฉฐ, git push ๋ฅผ ๋น„๋กฏํ•œ git repos ๊ด€๋ จ ๋ชจ๋“  ์ž‘์—…์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.