Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 May 2011 12:35:19 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Limitting SSH access
Message-ID:  <4DC139F7.9080109@infracaninophile.co.uk>
In-Reply-To: <07CAE521148F4E7392202CD6B031F504@jarasc430>
References:  <07CAE521148F4E7392202CD6B031F504@jarasc430>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8460353A5D1F0DAB59F3620B
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/05/2011 10:08, Jack Raats wrote:
> I have a question concerning SSH op a FreeBSD 7.4-STABLE server.
>=20
> Is it possible to limit the SSH access?=20
> I want t o restrict a user to his own home directory.=20
> So that if he connects to the server with SSH he only can go to his own=
 home dir.
> Also the same for sftp...
>=20

I believe you will need to install a version of OpenSSH from ports to
get that functionality.  It's the CHROOT config option in
security/openssh-portable

	Cheers

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig8460353A5D1F0DAB59F3620B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3BOfwACgkQ8Mjk52CukIwOSwCdFN9p0g3PrGCwXZDHIMCc4JNI
A30An3HpRv4qTmxozJAi8jVuVOAOppHK
=KzVm
-----END PGP SIGNATURE-----

--------------enig8460353A5D1F0DAB59F3620B--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4DC139F7.9080109>