OpenSSH - upgrade to support features in >v.4.8

General support questions including new installations
Post Reply
hfidgen
Posts: 2
Joined: 2009/10/08 10:04:51
Contact:

OpenSSH - upgrade to support features in >v.4.8

Post by 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]
# 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
[/code]

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

dmwilloughby
Posts: 2
Joined: 2009/08/05 16:01:49

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

Post by 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.

hfidgen
Posts: 2
Joined: 2009/10/08 10:04:51
Contact:

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

Post by hfidgen » 2009/10/08 14:17:31

Brilliant - thats good news! Shall get that updated right now :)

Post Reply