jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] sftp/scp and jk_syslogd not working


From: Felix Stiehler
Subject: [Jailkit-users] sftp/scp and jk_syslogd not working
Date: Sun, 20 Mar 2011 15:33:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

Hi,

I tried to set up a sftp/scp only jail with the help of your tutorial

http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html

But I can't connect via sftp to the server:

sftp address@hidden
Connecting to x.x.x.x..
address@hidden's password:
Couldn't read packet: Connection reset by peer

Everything seems to be set up correctly, here is the passwd from inside
the jail:

root:x:0:0:root:/root:/bin/bash
share:x:1010:1005:,,,:/home/share:/usr/sbin/jk_lsh

And here the /home/jail/etc/jailkit/jk_lsh.ini

[share]
paths = /usr/bin, /usr/lib/
executables= /usr/bin/scp, /usr/lib/sftp-server

Alos I havn't syslog entries because I somewhat can't find out how to
add the /home/jail/dev/log socket to my official syslog and jk_syslogd
reports the following when starting it:

sudo killall jk_socketd ; jk_socketd
jk_socketd: no process killed
version 2.13, no sockets specified in configfile
/etc/jailkit/jk_socketd.ini or on commandline, nothing to do, exiting...

But my /etc/jailkit/jk_socketd.ini seems to be setup just fine:

[/home/jail/dev/log]
base = 1024
peek = 10240
interval = 2.0

:-(

Can somebody help me out with this pls?

Regards,
Felix Stiehler










reply via email to

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