首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >jenkins报错 Host key verification failed.

jenkins报错 Host key verification failed.

作者头像
悟空聊架构
发布于 2019-07-04 12:15:35
发布于 2019-07-04 12:15:35
4.1K0
举报

一、Host key verification failed

问题描述

在本地windows机器上安装了jenkins,在git bash命令行窗口可以使用git pull命令,但是在jenkins 中执行git pull就会报错。

代码语言:javascript
复制
C:\01_Project\doc\>git pull 
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

解决方案

将文件夹C:\Users\xxx.ssh 下的id_rsa、id_rsa.pub、known_hosts 拷贝到C:\Windows\System32\config\systemprofile\.ssh 文件夹下

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019-07-03 ,如有侵权请联系 cloudcommunity@tencent.com 删除
目录
  • 一、Host key verification failed
    • 问题描述
    • 解决方案
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档