Take another system I use (for example CentOS). I use the following code to make it become server.
# No GUI systemctl set-default multi-user.target # Enable SSH sudo systemctl start sshd
It has two big advantages.
- doesn't sleep
- saves power
Can I do something similar in OS X?
P.S. I know how to make it become available by other computer with ssh. I just want OS X not show any desktop environment just the cli.
P.S.2 The link Is there console mode in Mac OS X? didn't work for me in Ei captain, since I select name and password in system preference, and restart. I still get
list of user(icon and username). The reason is
If I follow what the link said, I need to turn
filevault off. That is not I want. See link Mac ignores "Display login window as" setting
Then I try to log out the current user and is able to use the function of
name and password. when I use
>console， I can ssh to it