Connect to your Linux system via SSH for a quick and easy update. This quick little tutorial comes in handy when you are managing multiple Linux systems and need to update them all to the latest and greatest software. Please note; It is strongly recommend that you do NOT try to upgrade your system over the internet since the connection is more prone to disconnect mid-upgrade and that would most likely break your Linux installation.
Requirements:
- Static IP set for the remote computer
- SSH Installed on the remote computer
- APT Installed on the remote computer
Step One

Connect to the system you want to upgrade ssh adminusername@ip.address.here then press enter. Now type in you password and press enter again. You should now be connected to the remote Linux machine and see its CLI.
Step Two

Now type in sudo apt-get update and press enter. This will update the sources, so APT knows what to packages to upgrade.
Step Three

Type sudo apt-get upgrade and press enter. Review the updates (if there are any) and type yes to upgrade.
UPDATE: Commenter
This post is tagged Free, Linux, OS X, Remote, SSH, Ubuntu, Upgrade








[...] Updating Remotely http://infectedproject.com/2008/01/14/quick-tip-upgrade-your-linux-computers-remotely/ [...]
You could use the screen command so that it continues even if you get disconnected, and thus work over the internet/wireless network. (note, this means you can do the updating from your iphone/other ssh enabled mobile device.
I use the no-ip on the router or server (very easy to do on linux) to get a free domain name on a dynamic ip address (e.g. dsl connections). No need for a fixed IP.
Very cool thanks!
[...] Fuente: Infected Project [...]