Hi, I started again from scratch, deleted the project on GitLab, generated new RSA keys with:
ssh-keygen -t rsa -b 4096 -f gitlab_rsa -C "my_gitlab...@gitlab.com" Then I uploaded the new public key. I tested it with: ssh -T git@gitlab,com and it gives me a welcome message. I create the local git repository as described in the Eclipse wiki. I try to use the commands listed on the GitLab project page for adding an existing repository, but the first line errors out with error: Could not rename config section 'remote.origin' to 'remote.old-origin' I try to use "Team->Remote->Push" to upload the files to the Gitlab repository, using the URI from the clone ssh button, but when I click "Next", I get a dialog saying: The authenticity of host 'gitlab.com' can't be established. The RSA key fingerprint is ...... But the key fingerprint doesn't match the key fingerprint listed on GitLab for the new RSA key I have uploaded. I'm figuring that this is a bug, but I can't figure out what to do next? On Friday, 28 December 2018 00:34:48 UTC, 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/11b714da-395e-4428-9b33-57119bb375c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.