ssh - restricted shell
jsanchez at juansanchez.net
Wed Mar 30 17:52:14 PST 2005
Couldn't you put everyone else into the same group, except for the
outsider? Then you could make secret directories -rwx. Directories
without execute permission cannot be listed.
On Wed, 30 Mar 2005, Duane Winner wrote:
> Does anybody know the best technique to accomplish this:
> We have a server that we use for mostly internal development, and run an SSH
> We have an outsider who we want to allow to ssh into this server and do some
> However, because he is an outsider, we don't want him roaming around our
> server, moving, looking, doing, or anything outside of his own home
> How can I restrict him to his own home directory?
> I thought I ran into instructions once for doing this, but I can't find
> anything right now.
> Or was I thinking of scponly ?
> That might do it, except we do need to set him up to to run some scripts
> within his home directory after he uploads stuff via scp.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions