I installed Jailkit using RedHat RPM v2.1-1eI4 and tried installing my own using Jailkit v2.3, both are having the same problem.
I can connect using SFTP, but once the connection is made it just disconnnects. Any ideas? I have included my server logs:
MESSAGES log: Jun 11 14:12:37 www2 jk_chrootsh[5270]: now entering jail /home/jail for user snoopy (504) Jun 11 18:12:37 www2 jk_lsh[5270]: jk_lsh version 2.1, started
Jun 11 18:12:37 www2 jk_lsh[5270]: uid 504 or gid 503 does not have a name
SECURITY log: Jun 11 14:12:37 www2 sshd[5267]: pam_unix(sshd:session): session opened for user snoopy by (uid=0)
Jun 11 14:12:37 www2 sshd[5269]: subsystem request for sftp Jun 11 14:12:37 www2 sshd[5267]: pam_unix(sshd:session): session closed for user snoopy