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!

  • Why not compile from source or create your own package? – Warner Mar 8 '10 at 17:45
  • 1
    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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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