[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: |
Sat, 25 Nov 2006 13:08:58 -0600 |
Here we go. I only got this output once, but here is what I got. I
can't reproduce this output. I tried creating a new user to no avail.
One and only debug report :(
jk_chrootsh, started
close filedescriptors
get user info
got user mike2
get group info
get additional groups
got additional groups 508,
no relevant section found in configfile
LANG is NOT in except
LOGNAME is NOT in except
PATH is NOT in except
SHELL is NOT in except
SSH_CONNECTION is NOT in except
TERM is NOT in except
get jaildir
dir=/var/ftp/mike2/./home/mike2,jaildir=/var/ftp/mike2,newhome=/home/mik
e2
get chdir()
test paths
chroot()
got /home/mike2 as pw_dir
/usr/sbin/jk_lsh: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory
Connection to localhost closed.
Libc.so.6 is located inside the jail at this location.
/var/ftp/lib/i686/nosegneg/libc.so.6
I also copied libc.so.6 to /var/ftp/lib as well to see if that would fix
it up. It did not.
Just and FYI, I followed the following "How to" when I set this up
(works on 4.2 ssh servers but nothing past 4.3 for Fedora releases).
http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html
Russ
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Olivier Sessink
Sent: Saturday, November 25, 2006 11:41 AM
To: address@hidden
Subject: Re: [Jailkit-users] closed connection for sftp in a chrooted
jail
Russ Lavoie wrote:
> Here is the change I made.
>
> #define DEBUG
seem good
> Where would the debugging info go?
to the console where you log in, simply: `ssh address@hidden and
look for output
regards,
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, (continued)
- 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/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 <=
- 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
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/26
- RE: [Jailkit-users] closed connection for sftp in a chrooted jail, Russ Lavoie, 2006/11/26
- Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/27
Re: [Jailkit-users] closed connection for sftp in a chrooted jail, Olivier Sessink, 2006/11/17