Hi Aleksey, Thanks for the reply.
On Friday, 28 December 2018 01:04:19 UTC, Aleksey Tsalolikhin wrote: > > > test it with ssh -T - as described in the docs > > URL, please? I'd like to see that section in the docs. > The URL for the GitLab docs on SSH that I'm working from is: https://gitlab.com/help/ssh/README.md > Can you git clone on the command line using the keypair you generated? > > -- I tried on the command line with the commands listed for an existing repository, and the files checked in OK (I could see them appear when I looked at the project again on GitLab). I got prompted for the password for this keypair, so I am sure the correct key-pair is being used (it's also the only one I have uploaded to GitLab). > > 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 trai...@verticalsysadmin.com <javascript:>. > -- Now when I try Team->Remote->Push in Eclipse, I get a different dialog, The radio button for Configured remote directory is selected, and the field is set to: origin: g...@gitlab.com:my_user_id/project_slug.git When I click on "Next", I get the same error dialog. If I choose the other "Custom URI" radio button, copy in the URI from the SSH clone field on the GitLab project page, and click "Next", I get the same error dialog. I've just done a bit more digging/Googling, and it looks like it may well be related to this bug in eclipse: https://www.eclipse.org/forums/index.php/m/1799851/ Will check it out more thoroughly tomorrow morning. Thanks for the help! > On Thu, Dec 27, 2018 at 4:34 PM <e47...@gmail.com <javascript:>> 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+u...@googlegroups.com <javascript:>. >> 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/b1d46445-4037-40a7-9b73-4498e0f28df3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.