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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.