Tested on iOS 11-16, rootful and rootless jbs.
A Control Center toggle for turning SSH server on/off.
Add the toggle to ControlCenter from Settings > Control Center > Customize Controls.
Long-hold on the CC toggle takes you straight to the OpenSSH Settings (if it's installed).
If you want to enable this toggle also while the device is locked, please install "OpenSSH Settings" (u.blanxd.opensshport), or if you're comfortable on the CLI then you can toggle it from a terminal with SSHswitch.
This is the CC Toggle part of the previous "all-in-one" package "SSH Toggle and Port".
The 3 tools used to be pacakged together, now separated into this, "OpenSSH Settings" (u.blanxd.opensshport) and "SSHswitch" (u.blanxd.sshswitch) which is the CLI workhorse behind this toggle and the Settings menu.
blanxd
on Reddit
blanxd
on Gitlab