Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: loejf on June 18, 2009, 06:17:53 PM

Title: OpenSSH version ?
Post by: loejf on June 18, 2009, 06:17:53 PM
Hi.
I was wondering why sme 7.4 use OpenSSH_3.9p1
When OpenSSH has newer versions??
Best regards
Loejf.
Title: Re: OpenSSH version ?
Post by: Stefano on June 18, 2009, 06:40:59 PM
because SME uses the same rpm of CentOS 4.x, which takes them from RHEL 4.x

don't bother about version number: RH is used to apply security patches.

hth
ciao
Stefano
Title: Re: OpenSSH version ?
Post by: cactus on June 18, 2009, 08:19:32 PM
Hi.
I was wondering why sme 7.4 use OpenSSH_3.9p1
When OpenSSH has newer versions??
Best regards
Loejf.
Please read up on this in the FAQ as well: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Later_versions_of_applications

It contains a link explaining the backporting RedHat Enterprise Linux does.
Title: Re: OpenSSH version ?
Post by: loejf on June 19, 2009, 12:16:08 PM
Ok. It´s because I wanted to follow this how to, to jail sftp users:
http://www.adamsworld.name/chrootjailv5.php
and it requires version 4 or 5.
Title: Re: OpenSSH version ?
Post by: Stefano on June 19, 2009, 02:07:19 PM
Ok. It´s because I wanted to follow this how to, to jail sftp users:
http://www.adamsworld.name/chrootjailv5.php (http://www.adamsworld.name/chrootjailv5.php)
and it requires version 4 or 5.

<DISCLAIMER>
this is not supported by contribs.org, and once you do it, you'll be on your own, so please don't come here to ask for support

I've not tested it
</DISCLAIMER>

you can follow this (http://help.webquarry.com/blogtest/2009/05/29/packaging-openssh-5-on-centos-47/) howto to create your openssh rpm to upgrade to 5.2

you should start from point 7 of the howto you linked, so you need to create your own template fragments to modify sshd_config

create group and users via server-manage panels

if you want to chroot users into their home you need to do the chown/chmod commands.. otherwise, if you need them to be jailed into an i-bay, you should not need anything else than create an i-bay and associate it to your group.

once you've done, if everything works, please create an how-to in the wiki, thank you

HTH
Ciao
Stefano