VMAC PiHat v2 SSH Remote
Setting up SSH on the Raspberry Pi, then configuring on your local network router with port mapping (22), will then enable Remote Access to your Raspberry Pi, from the outside world.
This port mapping is known as “port forwarding” and would entail logging into your router and configuring to the Raspberry Pi LAN IP. Details to configure your Raspberry Pi SSH Server are provided below.
This page will get expanded but in the meantime, to set a seed, using a Mobile Application like excellent SSH Button, you can then securely and easily control your VMAC PiHat from your mobile, or computer!
Below is an example of the Android SSH Button App where you can setup some buttons to force select matrix settings that you have pre-configured within Python or Bash scripts, or whatever coding language you use.
NB. I am sure if you are an iPhone user, then someone would have produced a similar app.
SSH Control from Windows
To control your Raspberry Pi from Windows, you can use a few methods.
Raspberry Pi Configuration
In order to get your Raspberry Pi to accept SSH connections, you will need to follow the below options:
Raspbian now has the Raspberry Pi SSH server disabled by default. However, it can easily be enabled manually from the desktop:
- Launch Raspberry Pi Configuration from the Preferences menu
- Navigate to the Interfaces tab
- Select Enabled next to SSH
- Click OK
Alternatively, you could use raspi-config in the terminal:
- Enter sudo raspi-config in a terminal window
- Select Interfacing Options
- Navigate to and select SSH
- Choose Yes
- Select Ok
- Choose Finish
Alternatively, use systemctl to start the service in the terminal:
sudo systemctl enable ssh sudo systemctl start ssh