[scponly] scponly and winscp
Rachid TOUATI
rach.touati at laposte.net
Mon Oct 8 10:29:39 EDT 2007
here's my configure line :
./configure --enable-winscp-compat --enable-scp-compat
--enable-chrooted-binary
and here's an extract of the logfile with debuglevel at 1 :
Oct 8 16:12:52 testrach scponly[9573]: chrooted binary in place, will
chroot()
Oct 8 16:12:52 testrach scponly[9573]: 1 arguments in total.
Oct 8 16:12:52 testrach scponly[9573]: arg 0 is -scponlyc
Oct 8 16:12:52 testrach scponly[9573]: opened log at LOG_AUTHPRIV, opts
0x00000009
Oct 8 16:12:52 testrach scponly[9573]: retrieved home directory of
"/home/demo//test" for user "demo"
Oct 8 16:12:52 testrach scponly[9573]: chrooting to dir: "/home/demo"
Oct 8 16:12:52 testrach scponly[9573]: chdiring to dir: "/test"
Oct 8 14:12:52 testrach scponly[9573]: setting uid to 503
Oct 8 14:12:52 testrach scponly[9573]: entering WinSCP compatibility
mode [username: demo(503), IP/port:]
Oct 8 14:12:54 testrach scponly[9573]: processing request: "groups"
Oct 8 14:12:54 testrach scponly[9573]: running: /usr/bin/groups
(username: demo(503), IP/port: )
Oct 8 14:12:54 testrach scponly[9573]: processing request: "pwd"
Oct 8 14:12:54 testrach scponly[9573]: running: /bin/pwd (username:
demo(503), IP/port:)
Oct 8 14:12:54 testrach scponly[9573]: processing request: "ls -la
--full-time"
Oct 8 14:12:54 testrach scponly[9573]: running: /bin/ls -la --full-time
(username: demo(503), IP/port:)
Oct 8 14:13:07 testrach scponly[9573]: processing request: "scp -r -d
-t "/test""
Oct 8 14:13:07 testrach scponly[9573]: running: /usr/bin/scp -r -d -t
/test (username: demo(503), IP/port:)
Oct 8 14:13:07 testrach scponly[9573]: processing request: "ls -la
--full-time"
Oct 8 14:13:07 testrach scponly[9573]: running: /bin/ls -la --full-time
(username: demo(503), IP/port: )
I tried with a source package and a RPM package (I works on a fedora
core 5), but the result is the same.
Kaleb Pederson a écrit :
> Rach,
>
> Please let us know what you used to configure scponly -- eg. what your
> configure line is.
>
> Also, could you turn on debugging and then post the log output to the mailing
> list?
>
> Thanks.
>
> --Kaleb
>
> On Monday 08 October 2007, Rachid TOUATI wrote:
>
>> Hi everyone,
>>
>> I want to use scponly 4.6 in a chrooted environment with winscp (release
>> 3.7.6).
>> I made the installation, created the chrooted environment with all the
>> libraries and commands, but I still have a problem . The connection on
>> the server works, but when I try to send or receive a file, I have a
>> message that says it is impossible to start the SCP and to check the
>> PATH !!! Everything works good in a environment which is not chrooted.
>> I think checked everything (rights on the files and folders, libraries,
>> ...), but I found nothing.
>> If someone has an idea ...
>>
>> Thanks.
>>
>> Rach Touati.
>>
>>
>>
>>
>> _______________________________________________
>> scponly mailing list
>> scponly at lists.ccs.neu.edu
>> https://lists.ccs.neu.edu/bin/listinfo/scponly
>>
>
>
>
>
More information about the scponly
mailing list