I'm running ISPConfig 126.96.36.199 on Debian Wheezy and am trying to setup SSH access with chroot using jailkit (2.16-1)
So far I'm only getting errors in /var/log/auth.log:
==> /var/log/auth.log <==
Oct 4 13:16:48 localhost sshd: Accepted password for user1 from 188.8.131.52 port 50530 ssh2
Oct 4 13:16:48 localhost sshd: pam_unix(sshd:session): session opened for user user1 by (uid=0)
Oct 4 13:16:48 localhost jk_chrootsh: now entering jail /var/www/clients/client2/web9 for user user1 (5009) with arguments
Oct 4 13:16:48 localhost jk_chrootsh: ERROR: failed to execute shell /bin/bash for user user1 (5009), check the permissions and libraries of /var/www/clients/client2/web9//bin/bash
Oct 4 13:16:48 localhost sshd: Received disconnect from 184.108.40.206: 11: disconnected by user
Oct 4 13:16:48 localhost sshd: pam_unix(sshd:session): session closed for user user1
I was setting up jailkit before installing ispconfig. Looking in the user's directory /var/www/clients/client2/web9, there even is no bin directory...
How do I fix this?