如何修复树莓派在更换了一个 SD 系统卡后,无法使用 SSH 登录问题 All In One
1.How to fix the bug that there is no signal when the Raspberry Pi is connected to a monitor with an HDMI cable All In One2.Raspberry Pi command line tools vcgencmd All In One3.Python rpi_ws281x library All In One4.Adafruit CircuitPython NeoPixel All In One5.How to fix the problem that Raspberry Pi cannot use the root user for SSH login All In One6.How to modify the hostname and username and password of Raspberry Pi All In One7.树莓派 4B 核心电子元器件图解 All In One8.Linux install vim errors All In One9.How to boot the Raspberry Pi system from a USB Mass Storage Device All In One10.How to Control an External USB Web Camera Using a Raspberry Pi All In One11.ARM Cortex-A72 CPU All In One12.Linux shutdown & reboot & poweroff All In One13.软路由 & 旁路由 All In One14.How to change the default Python2 to Python3 on Linux All In One15.Raspberry Pi 4 Model B Product Information Portal All In One16.use SSH to connect to Raspberry Pi methods All In One17.国产单片机开发板 All In One18.How to use Raspberry Pi scan bluetooth devices All In One19.How to use the Raspberry Pi and Python to control a DHT11 wet and temperate module All In One20.How to use the Raspberry Pi and Python to control a buzzer All In One21.gpiozero API All In One22.RPi.GPIO API All In One23.Node.js & Raspberry Pi & WS2812B RGB LEDs strip All In One24.Raspberry Pi 3 Model B and Raspberry Pi 3 Model B+ and and Raspberry Pi 4 Model B All In One25.How to use Linux command or Python code get Raspberry PI's Temperature All In One26.How to connect to multiple SSD1306 OLED Displays using Raspberry Pi GPIO I2C PIN All In One27.Raspberry Pi & 0.96 inch SSD1306 OLED display All In One28.WS2812B RGB LED 灯带外接电源所需要的电压计算公式 All In One29.Raspberry Pi GPIO pins All In One30.如何使用蓝牙控制树莓派 All In One31. Raspberry Pi & Experience AI All In One
32.如何修复树莓派在更换了一个 SD 系统卡后,无法使用 SSH 登录问题 All In One
33.How to use the Raspberry Pi to study the Linux kernel source code All In One34.Raspberry Pi 设置开机登录后自启动脚本 All In One35.How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One36.Raspberry Pi Code Editor All In One37.Linux copy from pipe command All In One38.how to use crontab to send an email on Linux All In One39.macOS Terminal & Raspberry Pi client_loop: send disconnect: Broken pipe All In One40.Raspberry Pi crontab not work bug All In One41.Raspberry Pi GPIO 针脚图解教程 All In One42.how to get Raspberry Pi System Information All In One43.2023 最新的如何树莓派上安装中文输入法和设置中文语言环境教程 All In One44.Linux change archive mirror All In One45.How to publish a Linux package to mirror All In One46.Raspberry Pi 3B won't turn on after being powered on All In One47.Raspberry Pi Debug Probe All In One48.How to find the "usbmodem" of Raspberry Pi Pico on macOS All In One49.How to check the USB devices connected to Linux by using Terminal All In One50.Raspberry Pi Imager All In One51.use macOS terminal can not install MicroPython on Raspberry Pi Pico bug All In One52.Raspberry Pi Pico All In One53.macOS 如何通过 SSH 访问树莓派 All In One54.面包板使用教程 All In One55.Raspberry Pi Pico & MicroPython All In One56.Raspberry Pi & Python & GPIO All In One57.Raspberry Pi Remote Access All In One58.Raspberry Pi 4 B 8G All In One59.How to use macOS to connect to Raspberry Pi without the monitor All In One60.Linux 关机命令 All In One61.Raspberry Pi 5 All In One62.TensorFlow Lite & Raspberry Pi All In One63.how to install GitLab on Raspberry Pi OS 64.Raspberry Pi & GPIO All In One65.Raspberry Pi 电路图模拟器 All In One66.树莓派 4B 入门教程 All In One67.如何在树莓派上搭建 gitlab 服务 All In One68.Raspberry Pi & Node.js & WebSockets & IM69.Raspberry Pi & Raspberry Pi 4 All In One70.IoT & Raspberry Pi71.NMAP 使用教程 All In One72.如何使用 config.txt 配置 Raspberry Pi 3 的各种信息!73.如何在没有显示器的情况下查看 Raspberry Pi 3 的 IP 地址信息 All In One74.How To Install Linux & Nginx & MySQL & PHP (LEMP) stack on Raspberry Pi 3 All In One75.如何启用树莓派的硬件看门狗功能,让它在系统宕机时可以自动重新开机 All In One76.如何在 Raspberry Pi 树莓派上安装浏览器的详细教程 All In One77.树莓派(raspberry pi 3) 中文界面支持的设置,安装中文环境,中文输入法 All In One78.2016 最新的树莓派3 上手评测图解教程新手必看 All In One如何修复树莓派在更换了一个 SD 系统卡后,无法使用 SSH 登录问题 All In One
known
hosts
Raspberry Pi
无法 SSH 登录,报错 ❌
/Users/xgqfrms-mm/.ssh/known_hosts
ssh pi@raspberrypi.local
$ 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
raspi-config
# GUI 交互式命令行界面
$ sudo raspi-config
在本质上还是直接修改 /boot/config.txt
配置文件
https://www.raspberrypi.com/documentation/computers/configuration.html#the-raspi-config-tool
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, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/17329294.html
未经授权禁止转载,违者必究!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
2022-04-18 Pinia All In One
2022-04-18 HTML5 meta & SEO All In One
2022-04-18 js generator function All In One
2022-04-18 js Uint8ClampedArray All In One
2022-04-18 CSS background multi linear-gradient All In One
2022-04-18 上海市小区预计解封日期查询 All In One
2021-04-18 Custom React Hooks All In One