Reputation: 737
I had a repository, which was cloned using HTTPS, and I wanted to "convert" that to ssh, for not to write username and passwords each time I push.
So using info from this page, I somehow moved to ssh.
But after that git push
stopped working, in the terminal, the cursor just blinks...
I tried moving backwards to https, but nothing changes.
Can anyone tell the reason why this happens?
Upvotes: 0
Views: 367
Reputation: 1323803
You need to check if your SSH url works:
ssh -Tv [email protected]
(Assuming a GitHub remote here): if the authentication succeeds, then your local user does have the relevant ~/.ssh/id_rsa
private key.
Upvotes: 1