I tried to set up a sftp/scp only jail with the help of your tutorial
But I can't connect via sftp to the server:
Connecting to x.x.x.x..
Couldn't read packet: Connection reset by peer
Everything seems to be set up correctly, here is the passwd from inside
And here the /home/jail/etc/jailkit/jk_lsh.ini
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:
base = 1024
peek = 10240
interval = 2.0
Can somebody help me out with this pls?