2
我有一個使用SSH密鑰對用戶進行身份驗證的git存儲庫,我想將該repo用作GoCD材質。 GoCD給我這個錯誤:如何設置GoCD來處理使用SSH密鑰進行身份驗證的私有git存儲庫?
Error performing command: --- Command ---
git ls-remote ssh://[email protected]/repo.git refs/heads/master
--- Environment ---
{GIT_ALLOW_PROTOCOL=http:https:ssh:git:file:rsync}
--- INPUT ----
--OUTPUT ---
--- ERROR ---
STDERR: Host key verification failed.
STDERR: fatal: Could not read from remote repository.
STDERR:
STDERR: Please make sure you have the correct access rights
STDERR: and the repository exists.
---
有沒有什麼辦法可以將SSH密鑰添加到GoCD?