Ubuntu – How to install OpenSSH on Ubuntu 12.10 without apt-get

apt-getopensshubuntu-12.10

I need to use Ubuntu 12.10 and want to install OpenSSH on it. Since this is a deprecated version of Ubuntu I cannot use apt-get to attain the wanted package, so how should I move forth to be able to install it?

Best Answer

In order to get access to an old release of Ubuntu, you need to make changes in /etc/apt/sources.list file. Change its content with this:

deb http://old-releases.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse

From then on, you should be able to do:

apt-get update
apt-get install openssh-client openssh-server
Related Question