我将我的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! 我已经把ssh-askpass放在我的10.7.4上了。在我设置ssh-askpass之后,它在MacOS10.7.4上运行得很好。但是,它不能在macos 10.8.2上运行。
克隆时,不会通过eclipse提示输入ssh cloning的密码。它适用于http克隆。
发布于 2012-10-30 23:35:16
我认为问题出在您升级的环境中的ssh配置,而不是Mercurial或MercurialEclipse。要将MercurialEclipse与ssh一起使用,需要配置非交互式ssh登录。在不询问用户名/密码的情况下,您应该能够ssh进入该计算机。
发布于 2012-11-02 19:49:49
据我所知,ssh-askpass依赖于X11,而10.8没有附带X11。也许安装XQuartz会有所帮助?
https://stackoverflow.com/questions/13117032
复制相似问题