Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4276
  • 博文数量: 3
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 25
  • 用 户 组: 普通用户
  • 注册时间: 2015-06-29 13:41
文章分类
文章存档

2015年(3)

我的朋友

分类: 系统运维

2015-06-29 14:40:00

服务器ssh认证


只需要将服务器上的/etc/ssh目录备份、拷贝即可实现改服务器ip或重装openssh-server、系统重装等而不影响客户端连接


如下面报错就可以规避了


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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

5c:99:a2:08:02:bf:1b:45:37:ce:96:29:da:c2:e3:dd.

Please contact your system administrator.

Add correct host key in /root/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /root/.ssh/known_hosts:2

  remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 10.1.81.116

ECDSA host key for 10.1.81.116 has changed and 

阅读(272) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:史上最全的程序员求职渠道总结

给主人留下些什么吧!~~