Bo's Oracle Station

查看: 2258|回复: 0

课程第29次

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2019-6-18 21:24:06 | 显示全部楼层 |阅读模式
192.168.0.4 ssh  连接 192.168.0.5的时候, 前者是Alice,后者是Bob
(谁输入密码谁是Alice, 谁有公钥和私钥对谁是Bob)



C.jpg
如果BOB的公钥不对的话,Alice出现:

  1. [root@station4 ssh]# ssh 192.168.0.5
  2. ssh_exchange_identification: read: Connection reset by peer
  3. [root@station4 ssh]# ssh 192.168.0.5
  4. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  5. @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
  6. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  7. IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
  8. Someone could be eavesdropping on you right now (man-in-the-middle attack)!
  9. It is also possible that a host key has just been changed.
  10. The fingerprint for the ECDSA key sent by the remote host is
  11. SHA256:mD3xiUZRelmK4f4aQPpn/CyWd0umnJ5UAYDwQ6tZd10.
  12. Please contact your system administrator.
  13. Add correct host key in /root/.ssh/known_hosts to get rid of this message.
  14. Offending ECDSA key in /root/.ssh/known_hosts:4
  15. ECDSA host key for 192.168.0.5 has changed and you have requested strict checking.
  16. Host key verification failed.
复制代码
x.png


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-11-21 19:32 , Processed in 0.043622 second(s), 28 queries .

快速回复 返回顶部 返回列表