RE: Jail dont work for users
- From: "Patrick Morris" <pmorris@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 6 Jul 2006 12:30:10 -0700
This configuration work OK for loggin with an SFTP client.
The user home is changed to the /datos/chroot/cssa and its
chrooted to / . This is not OK. The correct chroot directory
for the user is /datos/chroot/ .
Of course, I can change to the root directory /, and this is
the problem. I want to limit the user to the directories over
/datos/chroot.
Where is the problem or error?
How I make the chroot directory to /datos/chroot/?
OpenSSH does not support chrooted sftp out-of-the-box, last I checked.
There are a few patches out there that add support for it.
One is here: http://chrootssh.sourceforge.net/
- References:
- Jail dont work for users
- From: EJG
- Jail dont work for users
- Prev by Date: Ssh issue: core not dumped: /var/core/core.sshd
- Next by Date: SSH just works in internal network, not over the internet
- Previous by thread: Ssh issue: core not dumped: /var/core/core.sshd
- Next by thread: sftp/scp problems
- Index(es):