[QUESTION] how to auto-exec cmd when login

Peter Stuge stuge-openssh-unix-dev at cdy.org
Fri Mar 21 03:23:03 EST 2008


On Thu, Mar 20, 2008 at 01:47:35PM +0800, Wang Chen wrote:
> chroot

..

> Can you tell me how to achieve this purpose by old Openssh, such
> as OpenSSH_4.2?

If it is an important feature I think upgrading is a good idea.

If upgrading is impossible you can use a custom shell that implements
any desired policy.

IIRC rssh was one shell that did chroot.


//Peter


More information about the openssh-unix-dev mailing list