小编Sam*_*ard的帖子

“在known_hosts 中添加正确的主机密钥”/每个主机名有多个ssh 主机密钥?

尝试通过 ssh 连接到我控制的计算机时,我收到了熟悉的消息:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 RSA key sent by the remote host is
[...].
Please contact your system administrator.
Add correct host key in /home/sward/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/sward/.ssh/known_hosts:86
RSA …
Run Code Online (Sandbox Code Playgroud)

ssh ssh-keys

179
推荐指数
5
解决办法
49万
查看次数

标签 统计

ssh ×1

ssh-keys ×1