Hi, Having created a SSH user with Jailkit enabled in the CP, we get the following errors in our Auth log for the server the SSH user is on when trying to connect: Code: Feb 16 17:00:01 web-01 jk_chrootsh[14362]: path /var/www/clients/client20/web59/./home/web59 is not owned by user 1026 Feb 16 17:00:01 web-01 jk_chrootsh[14362]: path /var/www/clients/client20/web59/./home/web59 is not owned by group 1024 Feb 16 17:00:01 web-01 jk_chrootsh[14362]: abort, path /var/www/clients/client20/web59/./home/web59 is not owned by 1026 Feb 16 17:00:01 web-01 CRON[14358]: pam_unix(cron:session): session closed for user web59 Should the ./home parts be in there and how can we remove them. We don't use /home just the other path. Also, the path /var/www/clients/client20/web59/ is owned by root which I believe is how ISPConfig handles things, will this cause any problems? Thanks David
Which Jailkit version do you use? You should use 2.13: http://www.howtoforge.com/forums/showthread.php?t=51425&highlight=jailkit
Can you post the output of Code: ls -la /var/www/clients/client20/web59/home/ ? The ./home is ok, it just means that the directory is chrooted.
Sure, here's the output: Code: web-01:/home/admin# ls -la /var/www/clients/client20/web59/home/ total 12 drwxr-x--x 3 root root 4096 Feb 16 14:04 . drwxr-x--x 12 web59 client20 4096 Feb 16 14:04 .. drwxr-xr-x 2 root root 4096 Feb 16 14:04 web59
Do you have a user with the user ID 1026 in /etc/passwd? And do you have a group with the group ID 1024 in /etc/groups?
Please run the command: chown web59:client20 /var/www/clients/client20/web59/home/web59 and try to login again.