【问题标题】:how to interact with two beaglebone black connected to one computer如何与连接到一台计算机的两个 beaglebone black 交互
【发布时间】:2013-10-21 21:25:23
【问题描述】:

即使更改了 BBB 的 IP 之一,当我尝试连接时,它的配置也会恢复为默认值,有人尝试过吗,如果有,请告诉我解决方案的确切步骤。 问题: root@silvan-DL-H61MXP:~# ssh root@192.168.7.2

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
7d:0c:75:6f:f0:15:2f:13:39:f9:94:ba:88:30:61:e9.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.7.2
RSA host key for 192.168.7.2 has changed and you have requested strict checking.
Host key verification failed.

【问题讨论】:

  • remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.7.2,它说。你试过了吗?
  • 是的,我有,问题仍然存在

标签: linux git ssh


【解决方案1】:

使用 ssh 连接到此类开发系统的解决方案是禁用它们的主机密钥检查和存储。

在您的情况下,这可以通过将其放入 ~/.ssh/config 来完成:

Host 192.168.7.*
    UserKnownHostsFile /dev/null
    StrictHostKeyChecking no

但是,请注意不要禁用普通系统的主机密钥检查和存储,因为这会使它们容易受到中间人攻击。

【讨论】:

  • 找不到配置文件,怎么办?
  • @virtplay 用上面的内容创建。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-05-28
  • 2019-08-06
  • 2015-05-05
相关资源
最近更新 更多