SetRemoteLogin: включение удаленного входа в систему включен или выключение требует полных привилегий доступа к диску.

##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