【发布时间】:2015-06-29 19:39:35
【问题描述】:
我正在尝试通过 ssh 使用 Git 设置 jekins。
标准执行:
git clone ssh://[username]@[server]/srv/git/[repo]
将密码存储库克隆到我的磁盘后。
现在在詹金斯
ssh://[username]@[server]/srv/git/[repo].git
Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h ssh://[username]@[server]/srv/git/[repo].git HEAD" returned status code 128:
stdout:
stderr: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
或者另一种方式是
【问题讨论】: