SidneyRoberto9/github-blog

Password authentification and ssh

Opened this issue · 0 comments

Thank you for this project.

I have some troubles : when I want to push changes to GitHub, I get this message:

Password for 'https://hafid-hub@github.com':
remote: Support for password authentication was removed on August 13, 2021.

I use ssh and it stills ask me for my username and password.

🎯 Goal
Since password authentication has been removed, it is better, in my opinion, to take this into account in this admirable tutorial. I think that a user, like me who is just starting to learn to code, could quickly get discouraged, especially since he has almost reached his goal. And if he used, like me ssh, he will be asked again and again for the  password.

💡 Possible solutions
I overcome this problem with this command:
git remote set-url origin [git@github.com](mailto:git@github.com):<Username>/<Project>.git