Go to OSX Daily to read How to Turn On SSH on Mac
All Macs have a bundled SSH server that is disabled by default, but can be turned on at any time if you’d like to grant remote command line access to a machine.
The SSH server in MacOS is turned on by using a sharing feature called Remote Login. With Remote Login enabled, the Mac now has SSH and SFTP available to it for remote connections.
How to Enable the SSH Server on a Mac
Turning on the macOS SSH server is done through a settings adjustment:
- Pull down the Apple menu and go to “System Preferences”
- Open the “Sharing” preference panel”
- Check…
Read more: How to Turn On SSH on Mac