Re: OpenSSH & ChRoot
From: Darren Tucker (dtucker_at_zip.com.au)
Date: Sun, 22 May 2005 22:45:25 +1000 To: Richard Secor <email@example.com>
Richard Secor wrote:
[sshd and chroots]
> I'm sure someone will try and explain to me why I don't need to ChRoot
> in SSH, but I want to do it, and with SSH I can. That should be enough
> to find out how to do it with OpenSSH (otherwise I'm stuck with SSH,
> until something comes along)
Stock OpenSSH doesn't have a native chroot capability (not sure about's
FreeBSD's but I suspect it doesn't either), however if FreeBSD has
pam_chroot then that ought to work (it did on Linux last time I tried it).
-- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.