[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 11:54:56 -0600 |
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.
/var/ftp/ is the jail I setup. So my structure is
/var/ftp/{etc,home,dev,lib,user}.
Thanks!
Russ
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Olivier Sessink
Sent: Monday, November 20, 2006 11:38 AM
To: address@hidden
Subject: Re: [Jailkit-users] closed connection for sftp in a chrooted
jail
Russ Lavoie wrote:
> The only shell I have enabled is sftp (same as the openssh 4.2.x
> versions). I do have logging running, but the only place I can find
> anything talking about jk_xxx is in /var/log/messages and
> /var/log/secure.
>
> Here is my /etc/jailkit/jk_socketd.ini
>
> # example
> #[/home/testchroot/dev/log]
> #base = 1024
> #peek = 10240
> #interval = 2.0
>
> #[/var/ftp/mike/dev/log]
> #base=512
> #peek=2048
> #interval=10
>
> [/var/ftp/dev/log]
> base=1024
> peek=10240
> interval=10
but is jk_socketd actually running?
`ps ax|grep jk_socketd`
because I see no logging from inside the jail
[..]
> I am using WinSCP and regular linux to linux does not work.
with winscp you have to select 'sftp' mode
> I followed the following link step by step. (just so you know the
setup
> steps I went through)
>
> Using these same steps I can create another sftp site on any other
> system using 4.2.x. But once I use 4.3 it breaks (even if I had it
> installed and working right after the upgrade it stopped working)
I really need logging from jk_lsh inside the jail to diagnose the
problem...
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 <=
- 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/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