Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 吉特+;詹金斯取货问题_Git_Ssh_Jenkins - Fatal编程技术网

Git 吉特+;詹金斯取货问题

Git 吉特+;詹金斯取货问题,git,ssh,jenkins,Git,Ssh,Jenkins,当我从git存储库签出代码时,会出现如下错误: Started by user anonymous Checkout:workspace / /Users/shriram/.jenkins/jobs/github1/workspace - hudson.remoting.LocalChannel@46347456 Using strategy: Default Last Built Revision: Revision b0a93e1344ac7ce65fbfc34fb2d3b5a8b0a72e

当我从git存储库签出代码时,会出现如下错误:

Started by user anonymous
Checkout:workspace / /Users/shriram/.jenkins/jobs/github1/workspace - hudson.remoting.LocalChannel@46347456
Using strategy: Default
Last Built Revision: Revision b0a93e1344ac7ce65fbfc34fb2d3b5a8b0a72e05 (origin/master)
Checkout:workspace / /Users/shriram/.jenkins/jobs/github1/workspace - hudson.remoting.LocalChannel@46347456
Fetching changes from 1 remote Git repository
Fetching upstream changes from ssh:///shriarm@17.209.10.99 : 22/~/jengittest.git
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR:  (Underlying report) : Error performing command: /opt/local/bin/git fetch -t ssh:///shriram@17.209.10.99 : 22/~/jengittest.git +refs/heads/*:refs/remotes/origin/*
Command "/opt/local/bin/git fetch -t ssh:///shriram@17.209.10.99 : 22/~/jengittest.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: Host key verification failed.
fatal: The remote end hung up unexpectedly

错误消息提示解决方案:
17.209.10.99
的主机密钥未知或无效


.ssh/known_hosts
文件中删除带有该主机的行。之后,使用
ssh手动连接到该主机shriarm@17.209.10.99
并再次接受主机密钥。

错误消息提示解决方案:
17.209.10.99
的主机密钥未知或无效

.ssh/known_hosts
文件中删除带有该主机的行。之后,使用
ssh手动连接到该主机shriarm@17.209.10.99
并再次接受主机密钥