Languages

OS X Mountain Lion: Allow a remote computer to access your Mac

Allow a remote computer to access your Mac

If you allow remote login, you can use Secure Shell (SSH) to log in to your Mac from another computer.

You can’t use Telnet to log in to your Mac.

Allowing remote login to your Mac can make it less secure. For more information about keeping your Mac secure, see this help topic:

Protect your Mac

For more information about using the ssh command, type “man ssh” at a Terminal shell prompt.

Set up remote login

  1. On your Mac, open Sharing preferences if it isn’t already open, and then select the Remote Login checkbox.

    Selecting Remote Login also enables the secure FTP (sftp) service.

  2. Specify which users can log in:
    Option Description
    All users: Any of your computer’s users and anyone on your network can log in.
    Only these users: Click Add (+) and choose who can log in remotely. Users & Groups include all the users of your computer; Network Users and Network Groups include people on your network.

Log in from another computer

To log in from another computer, open Terminal (or another SSH app) on that computer. Then type:

ssh -l username [IP address]

For example, if your user name is steve, and your computer’s IP address is 10.1.2.3, open Terminal on the other Mac and type:

ssh -l steve 10.1.2.3

Don’t know your user name and the IP address for your Mac? It’s easy to find them. Open the Remote Login pane of Sharing preferences; your user name and IP address are shown below the “Remote Login: On” indicator.

Last Modified: Aug 8, 2013
Helpful?
Yes
No
  • Last Modified: Aug 8, 2013
  • Article: PH10618
  • Views:

    55405
  • Rating:
    • 100.0

    (1 Responses)

Additional Product Support Information