Open wtsang11 opened 3 years ago
ssh pi@192.168.7.76 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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:6LCvezi2d/0iI+rsotNU76MUpwva2RBBASrp1K+W9Fc. Please contact your system administrator. Add correct host key in /Users/wtsang/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/wtsang/.ssh/known_hosts:4 ECDSA host key for 192.168.7.76 has changed and you have requested strict checking. Host key verification failed.
Solution: reason of failure due to usage of same IP which was used previously for a different pi. Assign another IP to the new pi. Deleting the unused $HOME/.ssh/known_hosts entry of the unused host may work also.
sudo passwd pi
Headless pi with Remote Desktop using VNC
Window: Download pi imager https://www.raspberrypi.org/software/ Run and set config parameters eg hostname, enable SSH, WIFI connection info
Mac: Download VNC Viewer https://www.realvnc.com/en/connect/download/viewer/macos/
open terminal: ssh to pi sudo raspi-config enable VNC Server Choose Display Options > Screen Resolution eg DMT Mode 85 1280x720 60Hz 16:9
ref: https://www.youtube.com/watch?v=gGCtbn0d5uQ&ab_channel=RickMakes
Enable Camera
sudo raspi-config > Interface Options > Camera > On
Test camera connection
raspistill -o testCamera.jpg