Skip site navigation (1)Skip section navigation (2)
Date:      24 Nov 2003 09:20:21 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Sunil Sunder Raj" <unixtools@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Restricting SSH access to only a users home directory.....
Message-ID:  <44llq5sva2.fsf@be-well.ilk.org>
In-Reply-To: <BAY8-F38EXYT3wt16it0000c224@hotmail.com>
References:  <BAY8-F38EXYT3wt16it0000c224@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Sunil Sunder Raj" <unixtools@hotmail.com> writes:

> This depends on the shell not ssh configuration. Install rbash and
> assign it to the user having ssh access.

Just remember that "restricted" shells like rbash are not very hard to
break out of, so you can't rely on them as a security measure.  It's a
good way to go if you're mostly trying to avoid confusing the user in
question, or as a protection against shooting yourself in the foot.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44llq5sva2.fsf>