Ubuntu 10.04更换源

nano /etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu lucid main restricted
deb-src http://old-releases.ubuntu.com/ubuntu lucid main restricted

deb http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted

deb http://old-releases.ubuntu.com/ubuntu lucid universe
deb-src http://old-releases.ubuntu.com/ubuntu lucid universe
deb http://old-releases.ubuntu.com/ubuntu lucid-updates universe
deb-src http://old-releases.ubuntu.com/ubuntu lucid-updates universe

deb http://old-releases.ubuntu.com/ubuntu lucid multiverse
deb-src http://old-releases.ubuntu.com/ubuntu lucid multiverse
deb http://old-releases.ubuntu.com/ubuntu lucid-updates multiverse
deb-src http://old-releases.ubuntu.com/ubuntu lucid-updates multiverse

deb http://old-releases.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu lucid-security main restricted
deb http://old-releases.ubuntu.com/ubuntu lucid-security universe
deb-src http://old-releases.ubuntu.com/ubuntu lucid-security universe
deb http://old-releases.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://old-releases.ubuntu.com/ubuntu lucid-security multiverse

更新
apt-get update
apt-get upgrade

安装sshd
apt-get install openssh-server
/etc/init.d/ssh start