[Wolves] Locking own an SSH login

Zeth theology at gmail.com
Sat Feb 28 10:58:39 UTC 2009

2009/2/27 Adam Sweet <adam at adamsweet.org>:
> shell. Can anybody point me in the right direction on how to restrict an
> SSH user to specified commands?

A chroot jail is the best, then you can just delete the utils you
don't want them to have from their bin folders. Another lesser
approach is to set their shell to something that only has the commands
you want. For example, setting their shell to the scponly shell
(available in package managers), means they can only copy files on and
off using scp.

Best Wishes,

More information about the Wolves mailing list