How to enable sshd for headless server?

I have a ROC-RK3328-CC that I am running headless.

I was going to try the Debian image until I saw that it doesn’t have sshd enabled by default.

I then tried this image: https://distro.libre.computer/ci/raspbian/12/2023-10-10-raspbian-bookworm-arm64-lite%2Broc-rk3328-cc.img.xz

According to the docs here:

It says create a file in /boot/efi called ssh. I did this, but it did not enable ssh.

I then found some docs saying that the file should actually go in /boot. I tried this, this didn’t work either.

Finally, I saw the post at the end of that thread that said to create /boot/custom.toml with the configuration needed to create a user and enable ssh. I tried this also, and this didn’t work.

For each attempt, I confirmed that the system responds to ping but port 22 isn’t open.

How do I actually enable sshd on boot? I have spent several days on this and apparently nothing works.

Any ideas on this? Still haven’t had any luck.

My only thought is to connect a monitor and keyboard in order to install ssh on the Debian image. Apparently the ROC-3328 doesn’t have a console TTY enabled by default, which would be my own first choice. :slight_smile: But it comes to the same thing in the end.

Which is so obvious that my curiousity makes me ask: why haven’t you done this already? There has to be a story here…

sudo apt install ssh