【发布时间】:2017-11-08 22:23:20
【问题描述】:
在大多数情况下,我使用 git plugin 我选择凭据(用户名 - 私钥)并使用 ssh://git@server.com:7999/project/repo.git 作为 URL。这工作正常。可以克隆。
现在我尝试对 ssh-agent plugin 而不是 git-plugin 做同样的事情。
我使用 SSH-agent 插件并选择凭证(就像使用 git 插件一样)。 比我选择执行一个shell:
git version;
git clone ssh://git@server.com:7999/project/repo.git
这不起作用。我做错了什么?
Host key verification failed.
fatal: Could not read from remote repository.
【问题讨论】: