jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] Re: SFTP Disconnects after password


From: Tamakh
Subject: [Jailkit-users] Re: SFTP Disconnects after password
Date: Mon, 11 Jun 2007 14:52:58 -0400

UPDATE:
I pocked around the forums some more and found that it might not be seeing the proper /dev areas so I create a symlink for now to see if that would work.  Well that fixed some problems then I had a problem with the setgid and fixed that one.  Now it just says connected, but does not really coonnect:

Jun 11 14:47:13 www2 jk_chrootsh[5495]: now entering jail /home/jail for user snoopy (504)

I get that, but no real SFTP conneciton is made. Any ideas?

On 6/11/07, Tamakh <address@hidden> wrote:
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]