同事的ssh scp无法连接到我的本地机器,解决方式
2012-02-03 10:30
274 查看
ssh scp无法连接到某台机器
使用SSH登录另外一台机器,
#ssh 172.16.16.38
得到如下输出
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
a5:1c:99:1f:fa:d7:1e:76:8b:0a:67:eb:4f:90:24:7a.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.1.105 has changed and you have requested strict checking.
Host key verification failed.
在网上查说是ssh未安装完全,如openssh-server,openssh-cli 未安装等说法,安装后依然未解决
后终于在网上找出了原因:
因为在本地机器上曾经用SSH登录过这台远程计算机,因而留下了known_hosts的记录,在远程计算机重新安装系统后不能够通过鉴权。删除~/.ssh/known_hosts中对应的项目,问题获得解决。
使用SSH登录另外一台机器,
#ssh 172.16.16.38
得到如下输出
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
a5:1c:99:1f:fa:d7:1e:76:8b:0a:67:eb:4f:90:24:7a.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.1.105 has changed and you have requested strict checking.
Host key verification failed.
在网上查说是ssh未安装完全,如openssh-server,openssh-cli 未安装等说法,安装后依然未解决
后终于在网上找出了原因:
因为在本地机器上曾经用SSH登录过这台远程计算机,因而留下了known_hosts的记录,在远程计算机重新安装系统后不能够通过鉴权。删除~/.ssh/known_hosts中对应的项目,问题获得解决。
相关文章推荐
- 批处理解决本地连接无法禁用问题
- SQL Server 2012 SQLEXPRESS 127.0.0.1(IP地址方式)无法连接访问问题的解决
- 远程连接出现“由于无法升级或重续本地计算机的客户端访问许可证,远程会话被中断。请跟服务器管理员联系。”问题的解决方法
- 远程连接服务器无法拷贝本地文件解决
- SVN提示:由于目标机器积极拒绝,无法连接 的解决方法
- 当程序用ado的jet4.0方式连接的时候,对于设有access数据库密码的mdb的访问居然报错“无法启动应用程序,工作组信息文件丢失,或是已被其他用户已独占方式打开”,而用odbc方式不报错,小阴沟里翻船,郁闷中然后查文档解决之
- 本地连接无法禁用时的解决方法
- (转)连接带有密码的ACCESS数据库时出现“无法启动应用程序。工作组信息文件丢失,或是已被其它用户以独占方式打开”的解决方法
- win7系统修复本地连接提示“windows无法完成修复问题,需要清除DNS缓存”的解决方法
- 解决烧录问题:Jlink的三线制SWD方式连接STM32芯片无法识别的解决方案
- 关于 TortoiseSVN:由于目标机器积极拒绝,无法连接,的一种解决办法
- winsock 错误 0x0000274d 由于目标机器积极拒绝,无法连接问题解决
- 远程连接“由于无法升级或重续本地计算机的客户端访问许可证,远程会话被中断"的解决
- 一台机器安装了多个Oracle版本时,PLSQL Developer连接数据库时,“ORA-12154 TNS无法解析指定的连接标识符”的解决办法
- 本地连接图标无法显示的解决
- ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 的解决方法 此博文包含图片 (2011-01-20 13:50:37)转载▼ 标签: it 分类: 技术 早上同事用PL/SQ
- SVN错误:由于目标机器积极拒绝,无法连接 的解决方法
- vista/win7本地连接状态未知,依赖服务或组无法启动的六种解决方法
- winsock 错误 0x0000274d 由于目标机器积极拒绝,无法连接问题解决
- 本地连接图标无法显示的解决