Fw: howto use chroot + sshd

Damien Miller djm at mindrot.org
Mon Jun 8 18:57:17 EST 2009


On Sun, 7 Jun 2009, Terry Tsang wrote:

> 
> 
> Hi everybody.
> I got a problem here.
> 
> I want to use chroot + sshd service.
> env:
> RHEL 5.2
> 
> tail -1 /etc/pam.d/sshd
> session   required    pam_chroot.so debug

OpenSSH doesn't support pam_chroot. Use the sshd_config ChrootDirectory
option instead (requires a recent OpenSSH).

-d


More information about the openssh-unix-dev mailing list