[scponly] sftp works but scp doesn't... any idea ?

YLB ylebihan at gmail.com
Thu Feb 16 19:08:14 EST 2006


Hi ! :)

Here is what I get when attempting to use scp (sftp works very well)
with WinSCP :

Command 'groups ; echo "WinSCP: this is end-of-file:$status"' failed
with bad result ''.
Command 'ls -lad  "/testuser/.." ; echo "WinSCP: this is
end-of-file:$status"' failed with bad result ''.
Command 'ls -lad  "/testuser/.." ; echo "WinSCP: this is
end-of-file:$status"' failed with bad result ''.
The server returned an empty list for directory '/testuser'.

And when trying with console commands :

/testuser$ ls
/testuser$ ls -al
/testuser$ ls -ald
/testuser$ quota
/testuser$ cd ..
/testuser$ cat
command not permitted by scponly

And when trying a transfer with the scp command from a Linux box, I
get nothing (no error, but no files :-( ).

scponly was compiled with the following options :

./configure --enable-chrooted-binary --enable-rsync-compat
--enable-scp-compat --enable-winscp-compat --enable-quota-compat

Do you have an idea ?... :)

Cheers,

YLB.



More information about the scponly mailing list