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

I need OpenSSH 4.8+ in order to do setup a clean chrooted SFTP on my Centos 5.4 with Remi and EPEL repositories.

Is there a repository for Centos which contain an updated OpenSSH?


Extra info :

I want OpenSSH 4.8+ in order to not install an extra library (RSSH) when OpenSSH can already handle it. However if you think that there is a cleaner and easier to maintain way to install a chrooted SFTP server let me know!

share|improve this question
Why not compile from source or create your own package? – Warner Mar 8 '10 at 17:45
Compiling from source or creating my own package don't seems to be the easier to maintain. Am I wrong? – benjisail Mar 8 '10 at 18:20

It's very easy to create your own OpenSSH package for CentOS because the OpenSSH source distribution contains an RPM spec file. Follow these instructions and grab the sources from here.

share|improve this answer
From the instructions linked to by nlo: March 30, 2010: It was pointed out to me that Redhat has backported chroot functionality into its OpenSSH 4.3 packages, so these directions may not be neccessary anymore. Maybe the chroot bits needed have been backported? – davey Aug 6 '11 at 10:44

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.