[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: |
Russ Lavoie |
Subject: |
RE: [Jailkit-users] closed connection for sftp in a chrooted jail |
Date: |
Mon, 20 Nov 2006 16:36:54 -0600 |
I did append it to the command and the logging has not changed.
address@hidden log]# ps -ef | grep syslog
root 13921 1 0 08:32 ? 00:00:00 syslogd -m 0 -a
/var/ftp/dev/log
:( Makes me sad...
Russ
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Olivier Sessink
Sent: Monday, November 20, 2006 1:37 PM
To: address@hidden
Subject: Re: [Jailkit-users] closed connection for sftp in a chrooted
jail
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 mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
- [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, 2006/11/20
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail,
Russ Lavoie <=
- 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
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/25