Allow a remote computer to access your Mac (2024)

Allow a remote computer to access your Mac (1)

Turn on Remote Login to access your Mac from another computer using SSH (Secure Shell Protocol) or SFTP (SSH File Transfer Protocol).

Set up Remote Login on your Mac

  1. On your Mac, choose Apple menu Allow a remote computer to access your Mac (2)>System Settings, click General Allow a remote computer to access your Mac (3) in the sidebar, then click Sharing on the right. (You may need to scroll down.)

  2. Turn on Remote Login, then click the Info button Allow a remote computer to access your Mac (4) on the right.

  3. If you want, turn on “Allow full disk access for remote users.”

  4. Click the “Allow access for” pop-up menu, then do one of the following:

    • Let everyone log in to your computer: Click the pop-up menu next to “Allow access for,” then choose “All users.”

    • Choose who can log in to your computer: Click the pop-up menu next to “Allow access for,” choose “Only these users,” click the Add button Allow a remote computer to access your Mac (5) at the bottom of the list, select users who can log in remotely, then click Select.

      Users & Groups includes all the users of your Mac. Network Users and Network Groups include people on your network.

      To remove a user from the list, select the user, then click the Remove button Allow a remote computer to access your Mac (6).

Log in to your Mac from another computer

  1. On the other computer, open the Terminal app Allow a remote computer to access your Mac (7) (if it’s a Mac) or an SSH client.

  2. Type the ssh command, then press Return.

    The basic ssh command format is:

    ssh username@hostname

    The hostname can be an IP address or a domain name. For example, if your user name is steve, and your computer’s IP address is 10.1.2.3, enter the following:

    ssh steve@10.1.2.3

  3. Enter your password, then press Return.

Find the SSH command to use to log in to your Mac from another computer

  1. On your Mac, choose Apple menu Allow a remote computer to access your Mac (8)>System Settings, click General Allow a remote computer to access your Mac (9) in the sidebar, then click Sharing on the right. (You may need to scroll down.)

    Open Sharing settings for me

  2. Click the Info button Allow a remote computer to access your Mac (10) next to Remote Login.

  3. Note the SSH command shown below the “Remote Login: On” indicator.

Allowing remote login to your Mac can make it less secure. See Set up your Mac to be secure.

Allow a remote computer to access your Mac (2024)
Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 5865

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.