Restarting A Remote Mac Via Terminal

1. On the Mac that you want to control via remote, launch System Preferences and choose Sharing. Click the lock icon and enter your Admin password to unlock the preference.

2. Within that preference enable the Remote Login option. In this window you’ll see the command for accessing your remote Mac, for example: ssh username@127.0.0.1 (The address with be different). Close System Preferences.

3. On the local Mac (which is running on the same local network as the remote Mac) launch the Terminal and enter ssh username@127.0.0.1

4. After a short delay enter your password for the remote Mac.
5. Enter:sudo shutdown -r now
6. Hit Enter, the type the password of the administrative user, enter again. The remote Mac will restart.

Tagged with: , , , , ,
Posted in Macintosh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your email address to follow this site and receive notifications of new posts by email.

Join 197 other subscribers
Categories
Archives
Colophon
wordpress com stats plugin
%d bloggers like this: