linux下ssh连接不上
1. 问题现象:ssh连接主机ip时连接不上,出现"Someone could be eavesdropping on you right now (man-in-the-middle attack)!"的异常,如图:
2 . 解决方式: 查找find / -name known_hosts,然后rm -rf /root/.ssh/known_hosts
3. 结果:ssh能连上,如图:
1. 问题现象:ssh连接主机ip时连接不上,出现"Someone could be eavesdropping on you right now (man-in-the-middle attack)!"的异常,如图:
2 . 解决方式: 查找find / -name known_hosts,然后rm -rf /root/.ssh/known_hosts
3. 结果:ssh能连上,如图: