[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] closed connection for sftp in a chrooted jail
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] closed connection for sftp in a chrooted jail |
Date: |
Mon, 20 Nov 2006 20:36:47 +0100 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060812) |
Russ Lavoie wrote:
> Yes, jk_socketd is running.
>
> address@hidden openssh]# ps ax | grep jk_socketd
> 13178 ? Ss 0:00 /usr/sbin/jk_socketd
>
> I am running winscp as SFTP
>
> How would I go about getting logs from the Jail? When I try to tail
> /var/ftp/dev/log I get an access denied message as root. I assume this
> is a redirect to some other log file (may not exist on my server). But
> I am not a whiz at this.
it is a socket, the logs are redirected by jk_socketd to the real
/dev/log, which is a socket from syslogd
you can also configure syslogd to directly open this socket, by
appending "-a /var/ftp/dev/log" to its commandline.
so your logs should be in /var/log/* where all your other logs are.
if you have only logging outside the jail you see:
Nov 20 20:02:43 alpha jk_chrootsh[5977]: now entering jail /home/jail
for user test (1001)
if you have logging inside the jail you see:
Nov 20 20:04:07 alpha jk_chrootsh[27056]: now entering jail /home/jail
for user test (1001)
Nov 20 19:04:07 alpha jk_lsh[27056]: jk_lsh, started
Nov 20 19:04:07 alpha jk_lsh[27056]: executing command
'/usr/libexec/sftp-server' for user test (1001)
so it gives much more info
regards,
Olivier
- [Jailkit-users] closed connection for sftp in a chrooted jail, sleahy, 2006/11/17
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/17
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/18
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/20
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/20
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/20
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail,
Olivier Sessink <=
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/20
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/21
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/22
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/24
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/25
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/25
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/25
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/25
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/25
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/25