Update OS X Remotely
Purpose
This document is meant for system administrators of OS X machines that need to be updated remotely.
Prerequisities
The OS X machine must have access to the internet and the administrator must have access to the machine via ssh.
Step by step
Login to the OS X machine via ssh. Then run the software update tool:
inca:~ root# softwareupdate -h
usage: softwareupdate <mode> [<args> ...]
-l | --list List all appropriate updates
-d | --download Download Only
-i | --install Install
<label> ... specific updates
-a | --all all appropriate updates
-r | --recommended only recommended updates
-u | --url <url> ... from signed package URLs
Per-user preferences:
--ignore <label> ... Ignore specific updates
--reset-ignored Clear all ignored updates
--schedule (on | off) Set automatic checking
-h | --help Print this help