SSH issue after replacing OS on same SD card

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

SSH issue after replacing OS on same SD card

Post by /RaspberryPi »


I get this when I try to SSH into a pi that I just set up. The SD card had previously had desktop OS, now it is running Lite OS in the same pi zero.

C:\Users\duckr>ssh [[url=mailto:pi@192.168.1.229]pi@192.168.1.229[/url]](mailto:[url=mailto:pi@192.168.1.229]pi@192.168.1.229[/url])

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ 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:zStim0wHidingSomeCharacters7icMB1DzqpJdfg938.

Please contact your system administrator.

Add correct host key in C:\\Users\\duckr/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in C:\\Users\\duckr/.ssh/known_hosts:14

Host key for 192.168.1.229 has changed and you have requested strict checking.

Host key verification failed.



How do I "Add correct host key in C:\\Users\\duckr/.ssh/known_hosts to get rid of this message" or how do I stop the "strict checking" option?
submitted by /u/duckredbeard
[link] [comments]

Source: https://www.reddit.com/r/raspberry_pi/c ... e_sd_card/
/RaspberryPi
Post Reply

Return to “Raspberry Pi Forum”