gitlab ssh key无法连接

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 ran ssh-keygen -R "gitlab.com" and it worked

 

jenkins 无法连接gitlab 通过ssh-key原因是不认识主机名在known_hosts,需要在 dash-board--->系统管理-->全局安全配置中--->

Host Key Verification Strategy--->选择
Accept first connection

有时候使用用户密码无法连接是因为用户和密码没有添加进gitlab代码库的项目的member中

I had the same problem in a php project. I ran ssh-keygen -R "gitlab.com" and it worked
posted @   滴滴滴  阅读(332)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示