I recently created an SSH keypair for myself within the Pythonanywhere Bash console by running
ssh-keygen -t rsa -C "myemail@example.com" -b 4096
. (I used my actual email)
Following this guide, I copied the public key and pasted it into my Gitlab panel. Finally, I tested the connection by running ssh -T git@gitlab.com
and got the desired "Welcome to Gitlab" message.
However, when I try to do a simple git push
into the Gitlab repo, it still asks me for my username and password. Does anyone know why this could be happening?