It also contains information on using the Remote Login function.

The first is through the Screen Sharing function, which is disabled by default.

On the Remote Mac Computer

To enable Screen Sharing on the remote Mac computer:

OpenSystem Preferences.

Mac System Preferences with Sharing highlighted

Either go to the Dock and click theSystem Preferencesicon or go to the Apple menu and selectSystem Preferences.

SelectSharingin the System Preferences pane.

Save or write down the web link name of the remote Mac.

Screen Sharing selected in the Sharing preferences

From the menu bar, selectGoand then chooseConnect to Server.

For example, vnc://192.168.1.25.

Depending on how you set up Screen Sharing, you may be asked for a name and password.

Sharing network name in Mac Sharing preferences

Enter the appropriate information and then selectConnect.

A new window opens that displays the remote Mac’s desktop.

Move the mouse cursor into the remote desktop window, go to the menu bar and select theAppleicon.

The Mac Go menu with Connect to Server highlighted

SelectShut Downto shut down the target Mac computer or selectRestartto restart it.

On the Remote Mac

LaunchSystem Preferences.

Either go to the Dock and clickSystem Preferencesor go to the Apple menu and selectSystem Preferences.

Server address entered into Connect to Server preference screen

Select theRemote Logincheck box to enable remote login.

Next toAllow access for,selectOnly these users.

To add more users and groups, go for the+icon and choose from the list that appears.

Shut Down chosen in the Apple menu

Save or write down the command to pull up the remote Mac.

It is listed above the Users panel and will look likessh user@IPaddress.

For example, ssh george@192.168.1.50.

Remote Login selected in the Mac Sharing preferences

On the Local Mac

Now enter the remote Mac from a Mac on the same web link.

SelectApplications>Utilities>Terminal.

In Terminal, jot down the remote login command.

The command to access the Mac remotely

This is the command you saved from the Sharing preferences pane on the remote Mac.

It should look likessh user@IPaddress.

This gives you login access to the remote Mac.

The Applications > Utilities > Terminal path on a Mac

You may need to input your administrator-level password.

To shut down the remote Mac, typesudo shutdown -h now.

To restart the remote Mac, typesudo shutdown -r now.

A terminal window on a Mac

Instead ofnow, pop in+n, withnrepresenting a number in minutes that will elapse before the command is executed.

For example,sudo shutdown -r +5will reboot the remote Mac in five minutes.

This behavior is expected.

you’re free to re-authenticate as soon as the remote machine has rebooted.