Why is the 22222 port open in Production mode?

In my understanding, the 22222 port is only available when in Developer mode.
Why is the 22222 port open in Production mode?

If it is only a problem with my device, I’m sorry.


Hey @Keisuke, that’s not a currect understaind, The ssh server on that port is running on all operating systems, and thus that port accepts connection (the port being open).

The difference is, that on development images that ssh server is open, meaning ssh server accepts connections without any authentication. That’s what

Passwordless SSH into balenaOS on port 22222 as the root user

in that documentation means.

On production images ssh connection requires authentication. That ssh service is required for the functioning of the dashboard web terminal (which connects to the device through ssh over the backend VPN connection) and the balena ssh function of the CLI.

Hope this clear things up, please let us know of you have any further questions.