-
Notifications
You must be signed in to change notification settings - Fork 1
Remote Access (SSH)
mezdahun edited this page Dec 17, 2020
·
8 revisions
If you would like to access the Pi4 remotely via SSH you can follow the official guide to do so.
- Get the IP of the PI (on Pi/host)
hostname -I
- SSH from your computer
ssh -Y pi@<IP of Pi>
please note that the -Y
flag makes graphical interfaces of openCV to be forwarded to your client.
-
Provide the password for the Pi and proceed
-
When finished working with the Pi, turn it off with
sudo shutdown -h now
wait until the LED stops blinking + 5 secs, then turn off the power supply as well.
the automatic test suite will accomplish unit tests. To further see the real behaviour of the code on a Pi environment, you will need to use the following workflow.
- (Pi) Turn on Pi
- (Pi) SSH into Pi
-
(Pi)
cd
to repo -
(Pi) use
git pull
and other git commands to sync your repo on the Pi - (Pi) test functionality of interest
- (PC) change functionality from advanced editor like PyCharm (not on Pi)
-
(PC) use
git push
to sync your new changes -
(Pi) continue from step
4.