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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to