我安装了Jenkins作为守护进程(在mac os x 10.7上),我使用'real-os-user
'作为JENKINS USER。gitolite - 与詹金斯混帐 - 无法访问
我想配置使用Git项目(helloworld
)工作,但我得到以下错误:
Failed to connect to repository : Command "git ls-remote -h git-server-name:helloworld HEAD" returned status code 128:
stdout:
stderr: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
fatal: The remote end hung up unexpectedly
如果我在终端窗口中运行“git ls-remote -h git-server-name:helloworld HEAD
”,它工作正常。
我印刷 'env
' 变量,并且我参见Jenkins使用 'real-os-user
' ..
任何想法赞赏。由于
看看这是否解决您的问题http://stackoverflow.com/questions/14064502/git-push-gives-permission-denied-publickey-fatal-the-remote-end-hung-up-unex – Siddharth