Hi guys! I've just installed ISPConfig with one OVH Dedicated Servers. (self install)
I've fallen in love with ISPConfig, its just amazing... but there's one thing I cant make it work (Sorry for my horrible english)
When I create a new ssh user for one website folder, I can connect with it without the jailkit enabled (so chroot option is "none"), but if I enable the option to "jailkit" the user can't login (it logins but insta kick him).
This is the log from the /var/log/auth.log when user's connect:
Feb 1 14:22:28 ks3266342 sshd: Accepted password for test from 22.214.171.124 port 57056 ssh2
Feb 1 14:22:28 ks3266342 sshd: pam_unix(sshd:session): session opened for user test by (uid=0)
Feb 1 14:22:29 ks3266342 jk_chrootsh: now entering jail /var/www/clients/client1/web2 for user test (5006) with arguments
Feb 1 14:22:29 ks3266342 jk_chrootsh: abort, failed to find user 5006 in /var/www/clients/client1/web2/etc/passwd
Feb 1 14:22:30 ks3266342 sshd: pam_unix(sshd:session): session closed for user test
The file that it says that does not exists (/var/www/clients/client1/web2/etc/passwd
)ofc it exists. Here it comes:
So whats the problem? I've updated jailkit to the last version (2.5) still not working.
Im sure jailkit is working, cuz if I remove the jailkit option in the chroot option on user edit, the user can login, but then he can browser all the path's... so thats not viable ofc.
My brain is starting to became black mat...
Anyone can help with this? thnx in advance!!!