I cannot access to my repo with ssh keys. When I'm trying git push
to my rep on gitlab it asks passphrase.
My steps from scratch.
Im going to ~/.ssh/ and rm
all files inside this folder. Then:
Create ssh key
ssh-keygen -o -t rsa -C "mymail@gmail.com" -b 4096
then inside ~/.ssh/
pbcopy < id_rsa.pub
then in gitlab account profile > settings > ssh keys. I put my key and press add key button.
then back to terminal and type
ssh gitlab.com
and got
Enter passphrase for key '/Users/local/.ssh/id_rsa'
If I enter a password it works, but this is not an expected result. How to establish proper ssh connection to gitlab using ssh? And what am I doing wrong?