[scponly] Re: redhat 9 problem

Mike Cronnelly mike at clockltd.com
Thu Oct 2 23:57:03 EDT 2003


Johan Heikkilä wrote:

>
>> From: "Dan Gapinski" <dangapinski at qsi-r2.com>
>> To: "Mike Cronnelly" <mike at clockltd.com>,        Johan Heikkilä 
>> <johanheikkila at hotmail.com>
>
>
>>
>> I am too - no problems with scponlyc. Perhaps a recompile to make the
>> chrooted executable will work a lot better?
>> Dan Gapinski
>
>
>
> Hello guys,
>
> I have recompiled several times. I get following error in /log/secure:
>
> ...: failed WinSCP compatibility mode [username:xxx(503), IP/port: 
> xxx.xxx.x.x 4014 22]
>
> This happens every time when scponlyc shell is enabled for that user 
> and the user tries to copy something. Also WinSCP reports error 127 
> and disconnects. Just connecting and browsing in directories is fine.
>
> (Or I have made some stupid error when installing...)
>
> Johan
>
> _________________________________________________________________
> Hitta billigaste resan på MSN Resor http://www.msn.se/resor/default.asp
>

Hi Johan...

Have you got all the required files in the jail? This is what I have:

.
./bin
./bin/ln
./bin/ls
./bin/mv
./bin/rm
./bin/pwd
./bin/echo
./bin/chmod
./bin/chown
./bin/mkdir
./bin/rmdir
./etc
./etc/passwd
./lib
./lib/tls
./lib/tls/libc.so.6
./lib/libresolv.so.2
./lib/libnsl.so.1
./lib/libutil.so.1
./lib/libcom_err.so.3
./lib/libk5crypto.so.3
./lib/libnss_compat.so.2
./lib/libkrb5.so.3
./lib/libgssapi_krb5.so.2
./lib/libcrypto.so.4
./lib/ld-linux.so.2
./lib/libdl.so.2
./lib/libnss_compat-2.3.2.so
./lib/libtermcap.so.2
./tmp
./usr
./usr/bin
./usr/bin/scp
./usr/bin/groups
./usr/lib
./usr/lib/libz.so.1
./usr/sbin
./usr/local
./usr/local/bin
./usr/local/lib
./usr/libexec
./usr/libexec/openssh
./usr/libexec/openssh/sftp-server

Regards,
Mike



More information about the scponly mailing list