在执行ls-remote命令期间捕获SSH异常 [英] EGit SSH Exception caught during execution of ls-remote command
问题描述
- enable = receive-pack
推送到它。 但是当我尝试使用EGIT Eclipse插件(ssh:// username @ ip_adress:22 / project.git)通过ssh进行推送时,出现以下错误:
传输错误无法获取远程资源库引用。
原因:执行ls-remote命令期间发生异常。
什么可能会导致这种情况,我该如何解决它? $ c>和 ssh://
使用不同的协议(请参阅 EGit User_Guide#Git_URLs )。所以要么在EGit中使用前者,要么确保ssh访问正常。
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?
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.
这篇关于在执行ls-remote命令期间捕获SSH异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!