OS X enable SSH from the command line

systemsetup -getremotelogin

systemsetup -setremotelogin [on|off]

This is a personal website. Unless otherwise stated, the content and opinions expressed here are my own and not those of my employer.