![]() Remote is GitLab and your system is the local so when we talk about the remote origin, whatever URL is set in your git remote -v output is your remote URL. The Basicsįirst, understand that what is the remote here. I'm answering because no one actually described the actual problem so wanted to share the same. Open it and get the key and Copy Paste to the Gitlab and you are nearly to done.Ĭheck by: ssh -T will get: Welcome to GitLab, know, I'm answering this very late and even StackOverflow confirmed if I really want to answer. Go to your SSH folder and get the id_rsa.pub ![]() Look above the prompt asking you to enter, you will get the path of ssh-rsa. Login to your Gitlab account and Go to the right navbar you will get setting and in the left sidebar you will get ssh key. It will prompt again for the last you to enter so just hit Enter after the below code is prompt, It will prompt again you to enter so just hit Enter after the below code is prompt,Įnter passphrase (empty for no passphrase): It will prompt you to enter so just hit Enter after the below code is prompt,Įnter file in which to save the key (/home/yourDesktopName/.ssh/id_rsa): ssh-keygen -o -t rsa -b 4096 -C is your gitlab account email.Gitlab wants ssh-rsa so below is the code to run ssh for rsa Steps to be done, got same error but i fixed it.
0 Comments
Leave a Reply. |