Restricting SSH access to only a users home directory.....
freebsd-questions-local at be-well.ilk.org
Mon Nov 24 06:20:24 PST 2003
"Sunil Sunder Raj" <unixtools at 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.
More information about the freebsd-questions