Hello,
I'm trying to set up a chroot jail for a user in /var/jail, following this guide http://allanfeid.com/content/creatin...ail-ssh-access.
I've got everything set up, but upon attempting to log in with the user, I get:
Code:
/var/jail/bin/bash: No such file or directory
Connection closed.
I've verified that /var/jail/bin/bash does exist, which is the bash that I want the user to utilize, so that they cannot escape the jail in any way. Everything in /var/jail/ is root:root, except for the users home directory which is owned by user:sshusers. I've also got the sshd_config configured to match the group and apply the chroot to /var/jail.
Bookmarks