In this quick guide, we will explore how you can SSH into your AutoPi device.
First connect to the hotspot. By default, the SSID is "AutoPi" followed by the last 13 characters of your unit ID, like so "AutoPi-XXXXXXXXXXXX". Also, by default, the password is the first 13 chars of your device ID, including dashes.
Like so: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Notice this is not the unit ID like the SSID. You are able to view the device ID in the basic device settings (Account > Devices).
Connect to the device via SSH, using the details below. This can be done via most computers (you need an SSH client), or even mobile devices with an SSH client installed.
All AutoPi native commands (commands normally run from the Cloud terminal) can be run from the
SSH prompt by adding the
autopi function in front. An example is:
This can be handly when doing local development.
When you are not connected to the device hotspot, but the device is instead configured to connect to your home WiFi, you will need to change the advanced configuration to allow this SSH connection. This is by default disabled as it can be insecure if you are using a public WiFi connection.
You can find the setting to enable this, in Settings > Advanced > WiFi > Client > Allow Ssh.
In such a case, the host will be the IP address that has been assigned to the device by your router.
If you'd like to discuss this topic with us or other fellow community members, you can do so on our community page dedicated for this guide: Guide: How to SSH to your device.