Prints enabled, disabled, or static — the boot-time policy for the ssh service rather than its current state. On fresh VPSes ssh should already be enabled, but a minimal image may disable it. Pair with sudo systemctl enable ssh if the answer is disabled.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.