GIT版本管理异常总结001---copssh安装后登录异常The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
2017-03-29 22:15
3395 查看
GIT版本管理异常总结001---copssh安装后登录异常The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
C:\Users\Administrator>ssh Administrator@127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
ECDSA key fingerprint is e8:49:9b:17:f0:d5:99:ac:01:d8:15:e4:55:86:e4:1e.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
Write failed: Software caused connection abort
可以看到报错了对吧,这是为什么啊?
其实就是ssh,对你的本机做一个检查,看看他是否经过
验证,咱们直接,通过下面的配置,让他不去验证就好了:
H:\ProgramFiles\ICW\etc\ssh_config
这个文件,咱们打开:
# ProxyCommand ssh -q -W %h:%p gateway.example.com
在最后加上这两句话就可以了.
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
好保存这个文件以后,咱们在:
cmd中再试试:
C:\Users\Administrator>ssh Administrator@127.0.0.1
Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
Administrator@127.0.0.1's password:
可以了对吧,注意这里的密码,输入Administrator
用户对应的密码.
---------------------------
C:\Users\Administrator>ssh Administrator@127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
ECDSA key fingerprint is e8:49:9b:17:f0:d5:99:ac:01:d8:15:e4:55:86:e4:1e.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
Write failed: Software caused connection abort
可以看到报错了对吧,这是为什么啊?
其实就是ssh,对你的本机做一个检查,看看他是否经过
验证,咱们直接,通过下面的配置,让他不去验证就好了:
H:\ProgramFiles\ICW\etc\ssh_config
这个文件,咱们打开:
# ProxyCommand ssh -q -W %h:%p gateway.example.com
在最后加上这两句话就可以了.
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
好保存这个文件以后,咱们在:
cmd中再试试:
C:\Users\Administrator>ssh Administrator@127.0.0.1
Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
Administrator@127.0.0.1's password:
可以了对吧,注意这里的密码,输入Administrator
用户对应的密码.
---------------------------
相关文章推荐
- ssh登录 The authenticity of host 192.168.0.xxx can't be established.
- git---如何解决The authenticity of host 'gitee.com (120.55.226.24)' can't be established
- ssh登录The authenticity of host x.x.x.x can't be established.的问题
- git提交到远程库时提示the authenticity of host can't be established
- 好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
- 好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx 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
- The authenticity of host 'localhost (127.0.0.1)' can't be established的处理方法
- git---如何解决The authenticity of host 'github.com (192.30.255.112)' can't be established.
- GIT ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
- ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
- git push -u origin master 出现The authenticity of host 'github.com ' can't be established解决方案
- Git学习——使用push命令,出现The authenticity of host 'github.com (xx.xx.xx.xx)' can't be established.警告
- Git clone或push时会报错 The authenticity of host '192.168.XX.XX ' can't be established.已解决
- ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
- ssh连接The authenticity of host can't be established
- The authenticity of host '0.0.0.0 (0.0.0.0)' can't be established.
- [root@yqiangoracle ~]# ssh localhost The authenticity of host 'localhost (127.0.0.1)' can't be estan