push fails, asks for userid/password when ssh is setup and works elsewhere #38388
-
I have not tried to push to my personal github account in 3 or 4 years. I'm getting a failure trying to do the usual "git push origin master" When I do a simple git push, it asks for user id and password When I enter the proper userid and password, it fails saying support was removed over a year ago. I can use the ssh comman to access github it works and says my ssh keys are allowing me to be When I follow the network/ssh debugging examples, it fails network is unreachable pfarrell@Alien15:~/whome/sandbox/gows/src/github.com/pfarrell51/cmd$ ssh -T 443 git@ssh.github.com when I use the verbose option, it still fails I've even installed the github desktop GUI application, but I can't get it to work either. It is installed but can't seem to connect to my account's existing repositories. I'm at a loss for how to proceed to do problem isolation on this. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
This shows Git is trying to use HTTPS, not SSH:
Which protocol gets used depends on the configured URL. You can set the correct (SSH) URL with
After that Git should use SSH. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much, that worked perfectly. |
Beta Was this translation helpful? Give feedback.
-
I forgot my user and password how can i push my code now can i get solution please? |
Beta Was this translation helpful? Give feedback.
This shows Git is trying to use HTTPS, not SSH:
Which protocol gets used depends on the configured URL. You can set the correct (SSH) URL with
git remote set-url
:After that Git should use SSH.