GIT clone failed from a private GIT server

Asked By 30 points N/A Posted on -
qa-featured

Hi there,

I have a MAC mini with Mavericks OS and I have some problems in logging in and when I try to GIT clone from a private GIT server. It is installed and configured to Ubuntu OS and I never had any problem to do this before. Why I can’t clone the server now ? How can I solve this and prevent it to happen again ? I didn’t change any settings before starting to make the clone.

Thank you !

Clone failed

Reason:

Server could not authenticate your identity. Please check that your SSH keys (as used in FAS) are set up correctly in Eclipse. How? Press, CTRL+3 then type ‘SSH2” and hit return. Also, make sure that you have the permissions required to attempt this action.

You may choose to clone anonymously, by selecting the relevant option. Note that push attempts will fail in this case.

OK

SHARE
Answered By 0 points N/A #185547

GIT clone failed from a private GIT server

qa-featured

Hi Hugh

The problem seems to lie in the fact that your local SSH keys are not set-up correctly. Follow the below steps:

1. Generate a RSA key on your local machine using this command: ssh-keygen -t rsa

2. Choose a password and a place to store the id_rsa.pub file, which contains the key.

3. add this key to your SSH keys on your account administration panel on the server side. Since it is a private server and if it is not owned by you, you will have to request the administrator of the server to add your key.

Also since the error message says something about Eclipse, well Git with Eclipse has some conflicts. That is because the encryption standards used are different. To remedy that you can add an environment variable GIT_SSH and set it to the directory where you have saved your key. This lets Eclipse override its default values.

 

Hope it helps.

Regards

Windley

Login/Register to Answer

Related Questions