|
From: | Tamakh |
Subject: | [Jailkit-users] Re: SFTP Disconnects after password |
Date: | Mon, 11 Jun 2007 14:52:58 -0400 |
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
/home/jail/etc/passwd
root:x:0:0:root:/root:/bin/bash
snoopy:x:504:503::/home/snoopy:/usr/sbin/jk_lsh
/home/jail/etc/group
root:x:0:root
jail:x:503:snoopy
/home/jail/etc/jailkit/jk_lsh.ini
[snoopy]
paths= /usr/libexec/openssh/
executables= /usr/libexec/openssh/sftp-server
[group jail]
paths= /usr/libexec/openssh/
executables= /usr/libexec/openssh/sftp-server
Thank you in advance!!
-Tam
[Prev in Thread] | Current Thread | [Next in Thread] |