to solve above issue just change "Host Key Verification Strategy" to "Accept first connection" Dashboard > Manage Jenkins > Configure Global Security >
Git Host Key Verification Configuration. Then in Host Key Verification Strategy select Accept first connection.
I had the same problem in a php project. I ranssh-keygen -R "gitlab.com"
and it worked
jenkins 无法连接gitlab 通过ssh-key原因是不认识主机名在known_hosts,需要在 dash-board--->系统管理-->全局安全配置中--->
Host Key Verification Strategy--->选择
Accept first connection标签:Key,gitlab,Strategy,Host,Verification,key,ssh From: https://www.cnblogs.com/gaoyuechen/p/17355593.html
有时候使用用户密码无法连接是因为用户和密码没有添加进gitlab代码库的项目的member中
I had the same problem in a php project. I ranssh-keygen -R "gitlab.com"
and it worked