Publication date: 2020-07-18
"raspi-config" is used via a menu but I wanted to use it via command line interface.
Enable ssh:
raspi-config nonint do_ssh 0
Get ssh status:
raspi-config nonint get_ssh
A list of options can be found in the source code of "rc_gui" here: https://github.com/raspberrypi-ui/rc_gui/blob/master/src/rc_gui.c
Hint on inverse logic: http://www.knight-of-pi.org/raspi-config-raspberry-pi-configuration-with-terminal-commands/