Sometimes System Preferences gets stuck with a orange dot when you enable remote login:

These may work
sudo launchctl stop com.openssh.sshd
sudo launchctl start com.openssh.sshd
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist
sudo launchctl load /System/Library/LaunchDaemons/ssh.plist