Enable Remote Access – Command Line

To enable Remote Management from the command line, enter the following into Terminal

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -users ARDADMIN -access -on -restart -agent -privs -all -allowAccessFor -specifiedUsers -computerinfo -set1 -1 "INFO1" -set2 -2 "INFO2" -set3 -3 "INFO3" -set4 -4 "INFO4"
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart --configure -access -on -privs -all -users ARDADMIN

You will need to switch ARDADMIN for the account you wish to give ARD access to.

INFO1, INFO2, INFO3, INFO4 refer to the fields located in System Preferences, Sharing, Remote Management, Computer Settings


To enable SSH for one specific user, enter the following into Terminal

sudo systemsetup -setremotelogin on
sudo dseditgroup -o create -a USER -t user -u USER -q com.apple.access_ssh

You will need to change USER for the shortname of the user you wish to grant SSH access to.

Briefly Magnify Dock Icons

If you have your Dock set up like mine (small icons with magnification switched off) then you may have come across some situations where you would like the icons magnified briefly, for example, when I ARD into some machines with a larger screen size than the one I’m working on, the display is shrunk to fit on my screen, and as such, the icons may not be as distinguishable as you’d like.

So, to work around this without having to change the Preferences then just hold down SHIFT & CTRL and drag your mouse icon over the Dock, you will notice that the icons are now magnified to an acceptable size

just release SHIFT & CTRL and magnification switches off again