I have setup jailkit 2.9 on debian using this guide http://linoxide.com/security/create-jailed-ssh-user-jailkit-debian/ users can login via ssh but they are not jailed to their home directory and can navigate below it and into other homes and view files etc.
/opt/jail
drwxr-xr-x 10 root root 4096 Apr 13 10:58 .
drwxr-xr-x 3 root root 4096 Apr 13 10:55 ..
drwxr-xr-x 2 root root 4096 Apr 14 12:54 bin
drwxr-xr-x 2 root root 4096 Apr 13 10:55 dev
drwxr-xr-x 6 root root 4096 Apr 14 12:54 etc
drwxr-xr-x 5 root root 4096 Apr 14 12:53 home
drwxr-xr-x 4 root root 4096 Apr 13 11:13 lib
drwxr-xr-x 2 root root 4096 Apr 13 10:55 lib64
drwxrwxrwx 2 root root 4096 Apr 13 10:55 tmp
drwxr-xr-x 6 root root 4096 Apr 13 11:13 usr
/opt/jail/home/
drwxr-xr-x 3 test test 4096 Apr 13 11:17 test
drwxr-xr-x 2 test2 test2 4096 Apr 14 12:55 test2
drwxr-xr-x 2 test3 test3 4096 Apr 14 13:00 test3
/etc/passwd
test:x:1001:1001:,,,:/opt/jail/./home/test:/usr/sbin/jk_chrootsh
test2:x:1002:1002:,,,:/opt/jail/./home/test2:/usr/sbin/jk_chrootsh
test3:x:1003:1003::/opt/jail/./home/test3:/usr/sbin/jk_chrootsh
/opt/jail/etc/passwd
test:x:1001:1001:,,,:/home/test:/bin/bash
test2:x:1002:1002:,,,:/home/test2:/bin/bash
test3:x:1003:1003::/home/test3:/bin/bash
I've searched but can't see where i've gone wrong?