Re: SSH Chroot Isn't Working
In those instructions you linked the guy seems to be creating/copying the bash folder into /var/jail/usr/bin while according to what you posted above your bash folder seems to be in /var/jail/bin. Could that be the error?
He used:
Code:
$ cd /var/jail/usr/bin
$ cp /usr/bin/ls .
$ cp /usr/bin/bash .
That would make a copy of ls and bash into /var/jail/usr/bin and in your case they are in folder /var/jail/bin.
Darko.
-----------------------------------------------------------------------
Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit
Bookmarks