> test it with ssh -T - as described in the docs URL, please? I'd like to see that section in the docs.
Can you git clone on the command line using the keypair you generated? > I have used the project url from the web-browser, but changed the protocol to ssh, and added the git user id, as described in the linked article, and tried it with and without a .git extension. Can you please try it with the SSH URL you see in the project page when you visit GitLab with a web browser? This way it's sure to be the right URL. (Select the blue "Clone' pull-down, and then c opy the SSH URL.) -- Achieve real learning. Email train...@verticalsysadmin.com. On Thu, Dec 27, 2018 at 4:34 PM <e47...@gmail.com> wrote: > Hi, > > Newbie question. I'm trying to use Eclipse with GitLab. I generate an > ssh keypair on Linux with ssh-keygen, add it to my ~/.ssh/config as > described in the GitLab docs, upload the newly generated public key to > GitLab, test it with ssh -T - as described in the docs, works fine. I add > the private key file to Eclipse as described in > https://wiki.eclipse.org/EGit/User_Guide#Eclipse_SSH_Configuration (and > remove the other existing key files, just to be sure). > > I've converted an existing Eclipse project to a local repository as > described in an earlier part of the linked Eclipse article, and created an > empty GitLab project using a web browser. I try and add the files in my > local repository to the newly created GitLab repository, with > Team->Remote->Push on the Eclipse project, and get a dialog saying > > "Transport Error: Cannot get remote repository refs. > ssh://g...@gitlab.com/my_user_id/project_slug_name > invalid privatekey: > > This is the point that I am stuck at. > > Anyone have any ideas? > > I have used the project url from the web-browser, but changed the protocol > to ssh, and added the git user id, as described in the linked article, and > tried it with and without a .git extension. > > Can't say this is the nicest introduction to GitLab imaginable. > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to gitlabhq+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/62d37ee6-fe0a-4d42-a297-5adfc9840d31%40googlegroups.com > <https://groups.google.com/d/msgid/gitlabhq/62d37ee6-fe0a-4d42-a297-5adfc9840d31%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CANNWuVWoc-P1oPWFuEBtoeB3AkC_VSsLh%2B2a2zUab3ZQTF0Mmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.