gpt4 book ai didi

github - 从 GitHub "We updated our RSA SSH host key"更新后,我的所有构建都在 CircleCI 中失败

转载 作者:行者123 更新时间:2023-12-03 07:56:58 29 4
gpt4 key购买 nike

GitHub 发布了此内容 article今天 2023 年 3 月 24 日,但基于此,有人可以帮助我使用 CircleCI,我认为因此我的所有构建都失败了,当 CircleCI 尝试安装依赖项时,我收到此消息:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for github.com has changed,
and the key for the corresponding IP address 140.82.114.3
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s.
Please contact your system administrator.
Add correct host key in /home/circleci/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/circleci/.ssh/known_hosts:1
remove with:
ssh-keygen -f "/home/circleci/.ssh/known_hosts" -R "github.com"
RSA host key for github.com has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

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

最佳答案

于 23-03-2023 GitHub 更新 RSA key ,按照以下命令更新。

https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

Mac 用户的步骤

  1. ssh-keygen -R github.com
  2. 安装 JQ(可选:如果找不到 jq,则运行此 cmd)brew install jq
  3. curl -L https://api.github.com/meta | jq -r '.ssh_keys | jq -r '.ssh_keys | .[]'| sed -e 's/^/github.com/' >> ~/.ssh/known_hosts

关于github - 从 GitHub "We updated our RSA SSH host key"更新后,我的所有构建都在 CircleCI 中失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75835147/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com