Skip to content
Danct12 edited this page May 26, 2021 · 2 revisions

SSH can be enabled by running this command on the phone's terminal:

$ sudo systemctl enable --now sshd

If you intend to keep SSH enabled on a daily basis, it is recommended to protect it using SSH keys to avoid successful bruteforce attack which might led to the system being compromised.

SSH can be disabled by running the command above, but changing from enable to disable:

$ sudo systemctl disable --now sshd

On the barebone image, this is enabled by default as a way for tinkerers to build their own environment without attaching a keyboard directly to the device. You can safely disable it when you don't need it anymore.

Clone this wiki locally