CS Forward

Month: August 2021

Fixing The Problems When Logging In Via SSH Into Raspberry Pi

Steps:

For some reason, if you get a message like following:

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

@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 ECDSA key sent by the remote host is

SHA256:iudbciuwbciubwi/TFutvavUVUY/76THBSJHB7Shdb.

Please contact your system administrator.

Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/user/.ssh/known_hosts:2

ECDSA host key for 192.168.0.XXX has changed and you have requested strict checking.

Host key verification failed.

then do this on your terminal:

ssh-keygen -R 192.168.0.XXX

 

Credits:

https://www.digitalocean.com/community/questions/warning-remote-host-identification-has-changed

Install VNC Server on Raspberry Pi

Steps:

1. Run the following:

sudo apt-get install realvnc-vnc-server

 

2. Raspberry Pi OS has the SSH server disabled by default. Enter

sudo raspi-config

 

3. Select Interfacing Options

– Navigate to and select SSH

– Choose Yes

– Select Ok

– Choose Finish

 

4. Learn your Pi’s IP address from your Pi’s terminal:

hostname -I

or from another device connected to the same network:

ping raspberrypi.local

 

Credits:

https://www.raspberrypi.org/documentation/computers/remote-access.html

Powered by WordPress & Theme by Anders Norén