如何修复树莓派在更换了一个 SD 系统卡后,无法使用 SSH 登录问题 All In One
known
hosts
Raspberry Pi
无法 SSH 登录,报错 ❌
/Users/xgqfrms-mm/.ssh/known_hosts
$ ssh pi@raspberrypi.local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:OSm7xD6bEquDahA8bP4syFSsZNgUpsg70HfiSuj5A8Q.
Please contact your system administrator.
Add correct host key in /Users/xgqfrms-mm/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/xgqfrms-mm/.ssh/known_hosts:6
Host key for raspberrypi.local has changed and you have requested strict checking.
Host key verification failed.
solution
# 查看
$ cat /Users/xgqfrms-mm/.ssh/known_hosts
# 修改/删除
$ sudo code /Users/xgqfrms-mm/.ssh/known_hosts
# $ sudo vim /Users/xgqfrms-mm/.ssh/known_hosts
# $ sudo nano /Users/xgqfrms-mm/.ssh/known_hosts
(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
无显示器如何通过配置文件快速修复树莓派无法通过 SSH 访问的问题 All In One
在没有显示器的情况下如何通过配置系统
文件快速的修复树莓派无法通过 SSH 访问的问题 All In One
无显示器
SSH 远程访问 树莓派
https://www.cnblogs.com/xgqfrms/p/17323303.html#5169080
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!