Using Remote Login in MacOS

When you enable remote login, you can access your Mac using Secure Shell (SSH) from another computer.

If you don’t know what this is then you most likely do not want to enable it as it will make your Mac less secure, however if you need to use SSH to access your Mac read on!

Go to:

System Preferences > Sharing

Check the Remote Login Service. This will also enable secure FTP (sftp).

You now need to set which users can log in:

From the Allow access for list:

All users: Will allow any of your Mac’s users to log in, this includes any Network Users / Network Groups that are set in the Users & Groups preference pane.

To restrict the users that can access this Mac set the radio option to Only these users:

If you want to be more specific than just restricting access to Administrators (to see which users are set to Administrator open the Users & Groups preference pane):

Click the plus button + to add users, then choose who can log in using SSH.

Users & Groups is a list of all the users on your Mac. Network Users / Network Groups include people on your network. Select the user you want to add and then click Select.

You can remove Users from the Access list by selecting their name and pressing the - button:

To Log in from another computer using SSH open the Terminal which is in Applications/Utilities on a Mac, then type: ssh [email protected] address

For example, if your user name is pete, and your computer’s IP address is, open the Terminal on another Mac and type: ssh [email protected]

If you don’t know the user name and IP address for the Mac you want to access via SSH then open the Remote Login pane of Sharing preferences and your user name and IP address are shown below “Remote Login: On”.

The IP address is a local subnet IP address and won’t allow you to access your Mac from outside the local network (both computers will need to be on the same network).

In order to use Remote Login to SSH into your Mac from the outside world you will have to set up port forwarding on your router and make note of the public IP address of your router, if you do not have a static IP address with your Internet Service Provider you can use a dynamic DNS service which is supported by most routers. Wikihow has a generic guide to setting up Port Forwarding on your router here.

You will want to set up and enable port forwarding for port 22 to the IP address of the Mac you have turned Remote Login on. Doing this is opening up your Mac to the world and presents a huge security risk if you do not know what you are doing.

Are You Getting Quality Mac Support From Your PC MSP?

We have assisted many businesses in implementing MDMs, developing custom security policies and procedures, and redesigning their networks.The list goes on and on. Contact us today and see how we can help you too.

Contact Sales

Drop us a line.

We are a remote and fully distributed, Nationwide Apple focused MSP serving Washington DC, Philadelphia, New York, Chicago, San Francisco, San Diego & more.

We focus on providing top notch Mac Support for small to mid-sized businesses. Contact us, and learn how we can help your company.

Full Name
Your email address
Phone Number
Company Name
How many Mac's & PC's do you have?
How many employees do you have?
Where are you located?
What challenges are you facing?

© Grove Technologies is a registered service mark trademark of Grove Technologies. Privacy Policy | Terms of Service. Cookie Preferences