Mac OS X : Restart ARDAgent from ssh

Posted by Antonin AMAND Sat, 23 Sep 2006 13:47:00 GMT

ARDAgent (Apple Remote Desktop Agent) sometimes freeze and then it may be impossible to control your remote server.

Here is the command line to restart it.

# ssh into you machine

$ ssh user@host

# locate the restart script
$ locate kickstart
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart

# restart the agent
$ cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources

$ sudo ./kickstart -restart -agent 
Trackbacks

Use the following link to trackback from your own site:
http://blog.gwikzone.org/trackbacks?article_id=mac-os-x-restart-ardagent-from-ssh&day=23&month=09&year=2006

Comments

Leave a comment

Comments