|
From: | yellow protoss |
Subject: | Re: [Jailkit-users] Problem to establish a SFTP for windows |
Date: | Fri, 9 May 2008 00:06:52 +0200 |
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:MIJNLOGINMAARHETISNIET :x:ZZZZ:ZZZZ::/MIJNLOGINMAARHETISNIET :/usr/sbin/jk_lsh
root:x:0:0:root:/root:/bin/bash
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@^@<8B>address@hidden@address@hidden(address@hidden@address@hidden@address@hidden@4^@
address@hidden@(address@hidden@address@hidden@address@hidden@address@hidden@address@hidden<80>^D^H4<80>address@hidden@address@hidden@address@hidden@address@hidden@address@hiddenaddress@hidden@^@
address@hidden@address@hidden@address@hidden<81>^D^H^T<81>address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@^Aaddress@hidden@address@hidden@^@
address@hidden@^@<80>^D^H^@<80>^D^H<94>address@hidden@<94>address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@^@<94>address@hidden@<94>³
^D^H<94>³^D^H<8C>address@hidden@<94>address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@^@
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@^@
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@^@/lib/ld-linu
address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hiddenaddress@hidden@address@hidden
address@hidden@^@(address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@)address@hidden@address@hidden^@
address@hidden@address@hidden@address@hidden@address@hidden@ESCaddress@hidden@address@hidden@address@hidden@^@&address@hidden@address@hidden...I am looking forward to hearing you,Yours sincerely,Yellow
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.
regards,
Olivier
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
[Prev in Thread] | Current Thread | [Next in Thread] |