jailkit-users
[Top][All Lists]
Advanced

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

RE: [Jailkit-users] sftp chroot - Connection Closed


From: Michael Groves
Subject: RE: [Jailkit-users] sftp chroot - Connection Closed
Date: Tue, 6 Jun 2006 11:20:44 +0100

Oliver wrote: 
>
> if your jail is /home/jail and the directory /home/jail/dev exists
this 
> seems ok. what do the logs show about jk_socketd?
>
I have a log file but it's empty?
>
>
> the problem is that /usr/lib/ssh/sftp-server is not listed in your
> /home/jail/etc/jailkit/jk_lsh.ini, and the log message tells you that
the 
> user tries to run it. Perhaps you need to add it, and that directory
to 
> jk_lsh.ini in the jail.
>
I have changed the entry in /home/jail/etc/jailkit/jk_lsh.ini from
'/usr/lib/sftp-server' to '/usr/lib/ssh/sftp-server ' so the user can
find the sftp-server.

I'm getting closer, but still get a 'connection closed'
I now get the following errors in /var/log/warm

Linux jk_lsh[7358]: WARNING: running /usr/lib/ssh/sftp-server failed for
user mike 91003: Unknown error 4294967295
Linux jk_lsh[7358]: WARNING: check the permissions and libraries for
/usr/lib/ssh/sftp-server

I'm guessing I need to chmod sftp-server, but I'm not sure on the
syntax, I suppose this should be done on a group level?
Also not sure what to do about the libraries. I can find out what
libraries are required from ldd, but not sure if I need to copy them to
the jail or just give the group access?

--
Michael


ValueLink is a specialist service provider of financial data to the major UK 
and International centres. Our clients require reliable, accurate data with 
maximum coverage on a fixed time delayed basis. We work closely with each of 
our clients to provide a service which meets their specific requirements and 
maximises efficiency of their process. For further information visit our 
website @ www.valuelink.co.uk
CONFIDENTIALITY: The information in this e-mail and any attachment is 
confidential. It is intended only for the named recipient(s). If you are not a 
named recipient, please notify the sender immediately and do not read, use, 
copy or disseminate this information. ValueLink Information Services Ltd 
accepts no liability whatsoever for any direct or consequential loss arising 
from the use, or reliance on, this e-mail or it's contents.





reply via email to

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