How to Enable Remote Management using Mac Terminal


You can check if Remote Management is turned off by making use of the systemsetup command.

% sudo systemsetup -getremotelogin
Password:

Remote Login: Off

If you wish to turn it on, you can run the below command in the Mac Terminal.

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart 
-activate
-configure
-access -on -users c2ctech 
-privs -all -restart -agent -menu
Logs:
Starting...
Screen recording might be disabled. Screen Sharing or Remote Management must 
be enabled from System Settings or via MDM.

Activated Remote Management.
Stopped ARD Agent.
c2ctech: Set user remote control privileges.
c2ctech: Set user remote access.
Restarted Menu Extra (System UI Server).
Done.

Replace c2ctech by your username.

-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author Info:

Rakesh (He/Him) is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap