好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
http://blog.csdn.net/kimsoft/article/details/5865418
用ssh登录一个机器(换过ip地址),提示输入yes后,屏幕不断出现y,只有按ctrl + c结束
错误是:The authenticity of host 192.168.0.xxx can't be established.
以前和同事碰到过这个问题,解决了,没有记录,这次又碰到了不知道怎么处理,还好有QQ聊天记录,查找到一下,找到解决方案:
执行ssh -o StrictHostKeyChecking=no 192.168.0.xxx 就OK
网址是:
http://blog.ossxp.com/2010/04/1026/
记一下,防止又忘记了,又快到3点了,无数个不眠之夜啊。
2011/10/11
某天机器又改IP了,ssh后,报:
mmt@FS01:~$ ssh -o StrictHostKeyChecking=no 192.168.0.130
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
fe:d6:f8:59:03:a5:de:e8:29:ef:3b:26:6e:3d:1d:4b.
Please contact your system administrator.
Add correct host key in /home/mmt/.ssh/known_hosts to get rid of this message.
Offending key in /home/mmt/.ssh/known_hosts:38
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).
注意这句
Add correct host key in /home/mmt/.ssh/known_hosts to get rid of this message.
执行:
mv /home/mmt/.ssh/known_hosts known_hosts.bak
再连:
ssh -o StrictHostKeyChecking=no 192.168.0.130
OK了!
好记心不如烂笔头,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. 的问题...
用ssh登录一个机器(换过ip地址),提示输入yes后,屏幕不断出现y,只有按ctrl + c结束 错误是:The authenticity of host 192.168.0.xxx can't b ...
- ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
scp免密码登录:Linux基础 - scp免密码登陆进行远程文件同步 执行scp一直是OK的,某天在本地生成了公钥私钥后,scp到某个IP报以下错误 The authenticity of host ...
- 解决mac报错ssh:connect to host 192.168.xx.xxx port 22: Connection refused
遇到的问题 机器A ssh连接 机器B失败,机器B ssh连接 机器A成功 mac在ssh远程登录的过程中出现报错ssh:connect to host 192.168.xx.xxx port 22: ...
- 可以ping通 但ssh: connect to host 192.168.0.2 port 22: Connection refused
目录 问题描述 原因 解决 问题描述 自己在树莓派端通过SCP指令给电脑上ubuntu传输文件发现提示:ssh: connect to host 192.168.0.2 port 22: Connec ...
- ssh登录The authenticity of host localhost can‘t be established.错误
当我们设置ssh免登录云服务器时出现以下报错: The authenticity of host 'localhost (::1)' can't be established. RSA key fin ...
- 好记心不如烂笔头之jQuery学习,第一章
jQuery对象和DOM对象的转换: 1.jquery对象是对象数组,于是乎: var $cr = $('#cr');var cr = $cr[0]; 2.使用jquery的自带函数: var $cr ...
- 好记心不如烂笔头之JQuery学习,第四章
---恢复内容开始--- JQuery中的事件和动画 JQuery中的事件: $(document).ready()该事件和JS中的window.load类似,但是window.load中需要等待所有 ...
- LINUX开启ssh服务,报错:ssh: connect to host 192.168.0.101 port 22: Connection refused
Ubuntu下测试ssh时使用ssh localhost 命令,出现错误提示connect to host localhost port 22:Connection refused 造成这个错误的原因 ...
- ssh: connect to host 192.168.1.20 port 22: No route to host解决方案
ping 192.168.1.20 | ping 192.168.1.21 | ping 192.168.1.22 不通 解释:在一台服务器上ip为(192.168.1.31):部署三台虚拟机(192 ...
最新文章
- 操作系统设计与实现第3版笔记与minix3心得(1)-minix3简介
- Tunnel Warfare(HDU1540+线段树+区间合并)
- loadrunner之java协议脚本编写
- 《Flask 入门教程》第 3 章:模板
- linux_network
- 软件测试的几大误区(带你踩坑)
- python装饰器-简易版
- typedef的使用详解
- 小管家进销存_美团入局共享充电宝,专家称或收购一两家,同行称雷声大雨点小...
- atom cpu linux死机,ATOM处理器编译性能还是堪忧啊
- CSS解决中英文的换行、不换行、超出后显示省略号的问题
- wifi mesh 开关
- html+word+clou,AE脚本:Word Cloud 1.0.3_文字云排版动画脚本+教程
- n皇后问题-回溯法求解
- 最全Python算法入门
- 百度关于EMP的探索:落地生产可用的微前端架构
- 指尖轻舞桌面:Slide On Desk - 基本功能与操作方法
- 阿里、网易、华为......滨江哪家公司奋战到最晚?论加班,你是斗不过他们的
- 多个邮箱逗号隔开正则表达式
- 车间如何做好“生产计划”,打造高效运营的智能工厂
热门文章
- mysql期末作业_MySql期中作业
- 谁能走得更远?百度、阿里、腾讯的区块链技术与布局对垒
- 浮士德头像裁剪flash版2016福利版
- alios是安卓吗_全面了解AliOS、Android、QNX三大系统
- 学习Python, 没有工作经验没学历能找到工作吗?
- (三)CGAL库应用:仿射变换(点的旋转、平移、放大)
- python开发部署时新增数据库中表的方法
- RPG Maker MV 打包安卓和修改分辨率的方法
- u盘iso安装服务器系统怎么安装win7系统安装系统教程,u盘iso安装系统,小编教你u盘怎么安装win7系统...
- 解读| 支付宝催泪视频背后的反欺诈升级战