The other day I was helping a client with her mac. Suddenly, Finder crashed and I ended up with just the Terminal open. This is what forced me to enable SSH using the Terminal. I decided to brew a great cup of Bourbon coffee first.
To enable SSH using the Terminal is quite simple. It requires sudo privileges. First, I wanted to check if SSH was already enabled by running this command:
sudo systemsetup -getremotelogin
After confirming SSH was NOT enabled I ran the following command to turn ON SSH in this macOS:
sudo systemsetup -setremotelogin on
Remember when using sudo you need to enter your password because it requires administrator rights.
As always, contact me if you have any questions. Also, remember to visit my IT Handyman shop. I make all the designs. Thank you!