[Top][All Lists]

[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: Fri, 9 May 2008 00:06:52 +0200

Dear Sir,

I am at present using the testing windows PC that should access the server with the jail. I am with windows XP using winsftp. I am pleased to provide you a link of hte program http://img100.imageshack.us/img100/4117/winsftpkg6.jpg. The middle option is the default one, and is usually on linux servers having sftp server.
Here you may find the error message (please note that the given chmod did not help unfortunately):
Received too large (1282369383 B) SFTP packet. Max supported packet size is 102400 B.
The error is typically caused by message printed from startup script (like .profile). The message may start with "Logg".

I would be welcoming from you or any experience users the way to the "-a ..." for the syslog, which I did not do since I have no idea how.
As for the .../chrootusers/etc/password:
this looks like:
with the /usr/sbin/jk_lsh starting with :
/home/chrootusers/usr/sbin# ls
jk_chrootsh  jk_lsh
/home/chrootusers/usr/sbin# less jk_lsh
"jk_lsh" may be a binary file.  See it anyway?
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@^@(address@hidden@(<81>^D^H(<81>^D^H address@hidden@^@ address@hidden@address@hiddenaddress@hidden@^@
I am looking forward to hearing you,
Yours sincerely,
On 5/8/08, Olivier Sessink <address@hidden> wrote:
yellow protoss wrote:
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

fiorst fix this issue:
`chmod g-s /home/chrootusers/`

/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

could be the above issue, perhaps there are more issues

/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

this seems to be an issue with the shell of the user inside the jail here

/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

how dod you try to logon here? it seems you tried to ssh to the account, but you are using jk_lsh so ssh for an interactive shell is blocked.



Jailkit-users mailing list

reply via email to

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