📜  git 主机密钥验证失败 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:45.142000             🧑  作者: Mango

代码示例1
#Windows:
ssh-keyscan -t rsa github.com >> %userprofile%/.ssh/known_hosts

#Mac:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts

# (If it says 'Command not found', try to run the command in your Git Bash.)