Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EGit SSH Exception caught during execution of ls-remote command

Tags:

git

egit

I set up a GIT Server in our internal network. I can push to it using git://...../ and with the option --enable=receive-pack on the server.

But when I try to push via ssh using EGIT Eclipse plugin(ssh://username@ip_adress:22/project.git) I get the following error:

Transport Error Cannot get remote repository refs.

Reason: Exception caught during execution of ls-remote command.

What might cause this and how do I solve it?

like image 502
Beig Avatar asked May 14 '12 08:05

Beig


1 Answers

git:// and ssh:// use different protocols (see EGit User_Guide#Git_URLs). So either use the former in EGit too or make sure ssh access works.

like image 180
ivan_pozdeev Avatar answered Oct 20 '22 14:10

ivan_pozdeev