Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 使用mercurial eclipse克隆存储库不适用于macos 10.8.2_Java_Eclipse_Macos_Osx Mountain Lion_Osx Leopard - Fatal编程技术网

Java 使用mercurial eclipse克隆存储库不适用于macos 10.8.2

Java 使用mercurial eclipse克隆存储库不适用于macos 10.8.2,java,eclipse,macos,osx-mountain-lion,osx-leopard,Java,Eclipse,Macos,Osx Mountain Lion,Osx Leopard,我的mac os 10.7.4更新为10.8.2(osx mountain lion)。更新macos后,我无法从eclipse克隆存储库。我得到了下面的错误 我使用的是Mercurial-Eclipse-1.9.4 hg -y clone --noupdate ssh://integ-build3//advent/hg/zohomailclient zohomailclient remote: Permission denied, please try again. remote: Per

我的mac os 10.7.4更新为10.8.2(osx mountain lion)。更新macos后,我无法从eclipse克隆存储库。我得到了下面的错误

我使用的是
Mercurial-Eclipse-1.9.4

  hg -y clone --noupdate ssh://integ-build3//advent/hg/zohomailclient zohomailclient
remote: Permission denied, please try again.
remote: Permission denied, please try again.
remote: Permission denied (publickey,gssapi-with-mic,password).
abort: no suitable response from remote hg! 
我已经在我的10.7.4上安装了ssh askpass。在我将ssh设置为askpass之后,它在macos 10.7.4上运行良好。但是,它在macos 10.8.2上不起作用


当通过eclipse进行
ssh克隆时,未提示密码提示。它适用于http克隆。

我认为问题在于升级环境中的ssh配置,而不是Mercurial或MercurialClipse。要将MercurialClipse与ssh一起使用,需要配置非交互式ssh登录。您应该能够通过ssh连接到该机器,而无需它询问用户名/密码

据我所知,ssh askpass依赖于X11,而10.8不随X11提供。也许安装会有所帮助?

您的解决方案将是密钥配对?。我无法为所有mercurial存储库主机进行密钥配对。macos上是否有任何配置更改都可以。我以前没有使用过ssh askpass,但这应该也可以。只要mercurial/ssh不在命令行上请求用户名和密码。