Raspberry pi ssh connection error

C:\Users\nick>ssh pi@192.168.1.5

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

@    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:5ATMhAY78GjHr6ty8ODazLE6sCoZohQSJynphxRBh3Q.

Please contact your system administrator.

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

Offending ECDSA key in C:\\Users\\nick/.ssh/known_hosts:41

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

Host key verification failed.

 

Solution :

C:\Users\nick>ssh-keygen -R 192.168.1.5

Then run command again to connect via ssh:

C:\Users\nick>ssh pi@192.168.1.5



Comments

Popular posts from this blog

Setting up a USB thermal printer with a Raspberry Pi 3B+

Create a autorun for a PyQt5 raspberry pi Application

Basic Input/Output C Program