jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] JailKit and SFTP


From: Topher Fangio
Subject: Re: [Jailkit-users] JailKit and SFTP
Date: Mon, 23 Nov 2009 10:09:11 -0600

Oliver,

Thanks very much. I apparently didn't have logging working quite right. It now
shows that I hadn't added /usr/lib/openssh/sftp-server to the jk_lsh.ini file which
I have now corrected. However, I don't believe I should have to add this line
since JailKit correctly adds the soft link from /usr/lib/sftp-server to
/usr/lib/openssh/sftp-server when I run jk_init sftp.

Perhaps I am doing something wrong? I can automate this and modify the file,
but it seems like this might be a bug.

Topher

On Fri, Nov 20, 2009 at 2:35 PM, Olivier Sessink <address@hidden> wrote:
Topher Fangio wrote:
> I haven't specifically enabled logging, however, the following appears
> in the
> log when I attempt to sftp into the box using a jailed account:
>
>     Nov 20 16:07:49 pharos360-production sshd[1465]: Accepted password
> for demo from 150.252.169.7 port 63972 ssh2
>     Nov 20 16:07:49 pharos360-production sshd[1469]: subsystem request
> for sftp
>     Nov 20 16:07:49 pharos360-production jk_chrootsh[1472]: now entering
> jail /home/jails/demo for user demo (1001)

[..]

you should enable logging inside the jail, because you're missing the
logs that tell you why the user is kicked out.

regards,
       Olivier


_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users



--
Topher Fangio

System Architect
Pharos Resources

office: 325.480.2627
mobile: 325.660.7141

reply via email to

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