If there are CLI ways to do this stuff I'd love to hear them.
I know sshd is controlled through systemsetup[1].
sudo systemsetup -setremotelogin on
If there are CLI ways to do this stuff I'd love to hear them.