Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason i can't update ubuntu to a newer version.

So I am forced to use Ubuntu 8.04.

How can I update only openssh from a 4.7 to a 5.X version ?


share|improve this question
Why can't you update Ubuntu to a newer version? BTW, why are you asking the same question a second time? Why not update your existing question to make it better and have more details? – Zoredache Nov 1 '10 at 21:48
possible duplicate of Ubuntu : update openssh from 4.7 to a newer version ? – Zoredache Nov 1 '10 at 21:49
Hello, I didnt get any answer on my previous question. – Arkan Nov 1 '10 at 22:13
And i can't update because my hoster, doesn't handle specific tools for a new version of the kernel. So for the moment, i have to stay with 8.04... – Arkan Nov 1 '10 at 22:14
up vote 2 down vote accepted

Download OpenSSH source. configure it to install to some private directory:

# ./configure --prefix=/usr/local/ssh && make && make install

Now prepend /usr/local/ssh/sbin and /usr/local/ssh/bin in your $PATH. Now when you call ssh, you run the new binary.

Disable sshd in the box (I do not know whether sshd in Ubuntu 8.04 uses upstart or the older rc.* method). Then start (the new) sshd from /etc/rc.local (in case you want the machine to run the latest sshd).

share|improve this answer
Thanks for this :) – Arkan Nov 1 '10 at 23:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.