chroot to dir per user?

Damien Miller djm at mindrot.org
Fri Oct 23 07:39:56 EST 2009


On Thu, 22 Oct 2009, K?rlis Repsons wrote:

> Hi there,
> 
> let me just ask if you know some good way to set up user chrooting in such a 
> way, that each sftp user has its chroot directory entry somewhere (whatever 
> path) and gets chrooted there upon its login? Maybe such feature is planned?
> Thanks...

Yes, read the sshd_config(5) manpage and search for ChrootDirectory.

-d


More information about the openssh-unix-dev mailing list