Git clone或push时会报错 The authenticity of host '192.168.XX.XX ' can't be established.已解决
2017-06-28 15:19
861 查看
错误显示
第一种解决方法是:
回答yes(但会每次都询问,所以不建议)
第二种解决方法是:
在你安装的Git目录下 \etc\ssh 下的ssh_config 里面添加以下内容
修改好配置后,重新启动sshd服务即可
第一种解决方法是:
回答yes(但会每次都询问,所以不建议)
第二种解决方法是:
在你安装的Git目录下 \etc\ssh 下的ssh_config 里面添加以下内容
# StrictHostKeyChecking no # UserKnownHostsFile /dev/null
修改好配置后,重新启动sshd服务即可
相关文章推荐
- Git学习——使用push命令,出现The authenticity of host 'github.com (xx.xx.xx.xx)' can't be established.警告
- git---如何解决The authenticity of host 'github.com (192.30.255.112)' can't be established.
- git---如何解决The authenticity of host 'gitee.com (120.55.226.24)' can't be established
- git push -u origin master 出现The authenticity of host 'github.com ' can't be established解决方案
- SSH连接时提示“THE AUTHENTICITY OF HOST XX CAN’T BE ESTABLISHED”
- GIT版本管理异常总结001---copssh安装后登录异常The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
- ssh连接时提示THE AUTHENTICITY OF HOST XX CAN’T BE ESTABLISHED
- git提交到远程库时提示the authenticity of host can't be established
- SSH连接时提示“THE AUTHENTICITY OF HOST XX CAN’T BE ESTABLISHED
- git使用时遭遇the authenticity of host can't be established
- git使用时遇the authenticity of host can't be established
- git使用时遭遇the authenticity of host can't be established
- SSH的 The authenticity of host xxx.xxx.xxx.xxx can't be established. 问题
- The authenticity of host 192.168.0.xxx can't be established
- The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
- ssh The authenticity of host '172.18.19.XXX (172.18.19.XXX)' can't be established.
- The authenticity of host 'hadoopslave4 (192.168.88.*)' can't be established
- The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
- ssh连接The authenticity of host can't be established
- The authenticity of host 'localhost (::1)' can't be established.