setremotelogin: ativar ou desativar o login remoto requer privilégios completos de acesso ao disco.

##Enabling SSH
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist

##Disabling SSH
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist

#To check if is on or off
sudo systemsetup -getremotelogin
Snippets