SSH连接远程服务器(Linux-Centos)以及出现问题解决
2016-07-07 10:29
1131 查看
$ ssh -l 用户名 XXX.XXX.XXX.XXX
出现以下问题:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:JAeh+bV8B7EAb70h4CtddugiALCDmhXSNapc3/6+/+w.
Please contact your system administrator.
Add correct host key in /Users/LiuMingchuan/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/LiuMingchuan/.ssh/known_hosts:7
ECDSA host key for 121.43.169.99 has changed and you have requested strict checking.
Host key verification failed.
解决办法:
$ rm ~/.ssh/known_hosts
出现以下问题:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:JAeh+bV8B7EAb70h4CtddugiALCDmhXSNapc3/6+/+w.
Please contact your system administrator.
Add correct host key in /Users/LiuMingchuan/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/LiuMingchuan/.ssh/known_hosts:7
ECDSA host key for 121.43.169.99 has changed and you have requested strict checking.
Host key verification failed.
解决办法:
$ rm ~/.ssh/known_hosts
相关文章推荐
- linux常用一些命令
- CentOS 7运维管理笔记(12)----PHP页面失去焦点后变成空白的解决方法
- 如何保护你的linux操作系统
- linux && git 命令备忘
- Linux中的文件描述符与打开文件之间的关系
- Linux下安装并破解StarUML
- CentOS7 64位 自动分配IP地址设置
- 1.7 远程工具连接
- Linux的常用基本命令
- Linux最常用命令及快捷键整理
- 1.6配置IP地址
- centos查看特定程序占用端口情况
- Linux上安装JDK环境变量配置
- centos6.5 升级python2.6到python2.7
- 【转】linux expr命令参数及用法详解
- centos6.5 安装jdk8
- linux下gcc编译优化选项的大体操作是怎么样的?
- Linux学习总结(10)——Linux查看CPU和内存使用情况
- Linux学习总结(10)——Linux查看CPU和内存使用情况
- 7.6linux基础学习