jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Problem to establish a SFTP for windows


From: yellow protoss
Subject: Re: [Jailkit-users] Problem to establish a SFTP for windows
Date: Thu, 8 May 2008 22:14:34 +0200

Dear Oliver,
 
I am pleased to confirm you the use of SFTP on a specific port. The sftp program was under a Linux system core, i.e. Debian stable.
I would like to submit you the following output results that was given by the grep function, that you provided me today in order to give help in the installation of the sftp server. Unfortunately the syslog things is for me very unclear, and a step by step procedure would be very welcome. Every single parts of the Linux system are still for me not known in the deepest knowledge, unfortunately. The output hence is as follows (I would note that the /ho:... chrootusers/etc/passwd is contains like it should the jk_lsh now):
 
# grep jk_ /var/log/*  | grep 22
/var/log/auth.log:May  6 19:40:07 localhost jk_chrootsh[22869]: abort, path /home/chrootusers is setgid
/var/log/auth.log:May  6 19:40:07 localhost jk_chrootsh[22869]: abort, path /home/chrootusers is not a safe jail, check ownership and permissions
/var/log/auth.log:May  6 19:43:59 localhost jk_chrootsh[22966]: abort, path /home/chrootusers is not a safe jail, check ownership and permissions
/var/log/auth.log:May  6 19:44:13 localhost jk_chrootsh[22972]: abort, path /home/chrootusers is not a safe jail, check ownership and permissions
/var/log/auth.log:May  6 20:22:11 localhost jk_chrootsh[24491]: abort, path /home/chrootusers is not a safe jail, check ownership and permissions
/var/log/auth.log:May  6 22:06:05 localhost jk_chrootsh[28400]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:07:22 localhost jk_chrootsh[28543]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:22:13 localhost jk_chrootsh[29057]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:24:19 localhost jk_chrootsh[29119]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:24:19 localhost jk_chrootsh[29119]: ERROR: failed to execute shell mkdir ~/logged;/bin/bash for user MIJNLOGINMAARHETISNIET (ZZZZ), check the permissions and libraries of /home/chrootusers/mkdir ~/logged;/bin/bash
/var/log/auth.log:May  6 22:27:11 localhost jk_chrootsh[29290]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:27:11 localhost jk_chrootsh[29290]: ERROR: failed to execute shell /bin/bashmod for user MIJNLOGINMAARHETISNIET (ZZZZ), check the permissions and libraries of /home/chrootusers//bin/bashmod
/var/log/auth.log:May  6 22:28:14 localhost jk_chrootsh[29324]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:34:06 localhost jk_chrootsh[29468]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:35:43 localhost sshd[29507]: User fhmariowels not allowed because shell /usr/sbin/jk_chrootshmod is not executable
/var/log/auth.log:May  6 22:36:39 localhost sshd[29632]: User fhmariowels not allowed because shell /usr/sbin/jk_chrootshmod is not executable
/var/log/auth.log:May  6 22:38:14 localhost jk_chrootsh[29680]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:39:16 localhost jk_chrootsh[29726]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:39:56 localhost jk_chrootsh[29755]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:41:00 localhost jk_chrootsh[29809]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:41:55 localhost jk_chrootsh[29843]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:50:11 localhost jk_chrootsh[30137]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  6 22:53:19 localhost jk_chrootsh[30249]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  8 22:06:36 localhost jk_chrootsh[20518]: now entering jail /home/chrootusers for user MIJNLOGINMAARHETISNIET (ZZZZ)
/var/log/auth.log:May  8 22:06:36 localhost jk_lsh[20518]: jk_lsh version 2.1, started
/var/log/auth.log:May  8 22:06:36 localhost jk_lsh[20518]: WARNING: user MIJNLOGINMAARHETISNIET (ZZZZ) tried to get an interactive shell session (/usr/sbin/jk_lsh), which is never allowed by jk_lsh
/var/log/daemon.log:May  4 20:12:36 localhost jk_socketd[18222]: version 2.1,no sockets specified in configfile or on commandline, nothing to do, exiting...
 
Yours sincerely

 
On 5/8/08, Olivier Sessink <address@hidden> wrote:
yellow protoss wrote:
I tried sftp from the cmmand line from a linux box.
all looks right from this side.

do you mean it works or it does not work?

the config looks okay i hope and the permissions work sinec ssh loging worked in /bin/bash mode.

what could be the issue ?

can you look in your logging and see what jailkit is reporting?

`grep jk_ /var/log/*` will show all jailkit related logging.


Olivier




_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users


reply via email to

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