This is something I came across. It would some in handy if you want to update your macosx machine remotely.
Note: I claim no responsibility for your PC if you try this and have problems...
First you have to have SSH running on the computer. To do this open System Preferences, then click on sharing and check off Remote Logon. This enables the SSH server on port 22. In older versions of OSX you cannot control which accounts are allowed to use this service. So to configure this you would open a terminal and type the following...
and add a line like this...
So after that from an ssh terminal as an adminstrative account...
sudo softwareupdate -l
(To list, updates)
sudo softwareupdate -i -a
(To install all)
There is more detailed information on this site...
http://www.ss64.com/osx/softwareupdate.html