OpenSSH - upgrade to support features in >v.4.8

General support questions including new installations

OpenSSH - upgrade to support features in >v.4.8

Postby hfidgen » 2009/10/08 10:17:05

Hiya,

I need to find a way to upgrade OpenSSH support to something more than the patched 4.3p2 which comes included in CentOS 5.3. Specifically I want to be able to use the Chroot functionality which was added in OpenSSH 4.8.

Code: Select all
# The following directives force ben_files to become chrooted
# and only have sftp available.  No other chroot setup is required.
Match user ben_files
ChrootDirectory /var/www/vhosts/mydomain.com/files
ForceCommand internal-sftp


Is there any way of updating OpenSSH? I think I already know the answer, as RHEL has more or less customised OpenSSH into a new package...

Any ideas? :-D

Thanks!
Hugh
hfidgen
 
Posts: 2
Joined: 2009/10/08 10:04:51

Re: OpenSSH - upgrade to support features in >v.4.8

Postby dmwilloughby » 2009/10/08 13:09:21

See RedHat errata
http://rhn.redhat.com/errata/RHSA-2009-1287.html
RedHat added the chroot feature with openssh version 4.3p2-36.el5. This is the current version available for CentOS 5.3, so you don't need to do anything to have chroot available to you.
dmwilloughby
 
Posts: 2
Joined: 2009/08/05 16:01:49

Re: OpenSSH - upgrade to support features in >v.4.8

Postby hfidgen » 2009/10/08 14:17:31

Brilliant - thats good news! Shall get that updated right now :)
hfidgen
 
Posts: 2
Joined: 2009/10/08 10:04:51


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 8 guests