My actions:
- Check if I have the key
cat ~/.ssh/id_rsa.pub
- I generate key
ssh-keygen -t rsa -C "myemail@email.com"
; passphrase did not fill out (although it did, too, but nothing changed) - I looked in the user’s folder (under which I’m in Ubuntu) two
id_rsa
andid_rsa.pub
files were created - I copy the key
xclip -sel clip < ~/.ssh/id_rsa.pub
- In gitlab in the ssh section I insert this key and save.
- Now in the folder where I used to pull off the project (
git clone
) I try to makecomposer update
, then I still ask for a password, only the password is not from my login on gitlab but fromgit@gitlab.myproj.com
How to do?
git config --global user.email myemail@email.com
... - Nick Volynkin ♦ssh -T git@gitlab.myproj.com
in the console - it should say that everything is ok. - KoVadim