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.

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!