[scponly] sftp works scp does not

Pawel Mueller pawel.mueller at rus.uni-stuttgart.de
Mon Feb 13 12:03:23 EST 2006


Hi,
I thought so, but look at that:

zsdweb1:/srv/www/src/scponly-4.6_bla # ./configure
--enable-winscp-compat --disable-sftp-logging-compat
--enable-scp-compat --enable-rsync-compat --prefix=/srv/local/
--enable-passwd-compat --disable-chroot-checkdir
--disable-chrooted-binary --with-sftp-server=/usr/lib64/ssh/sftp-server

[...]
checking for sftp-server... no
Can't find path to 'sftp-server'
zsdweb1:/srv/www/src/scponly-4.6_bla #

and believe me, sftp-server is under /usr/lib64/ssh/ ;-)

he does simply ignor me :-(

bye
Pawel

Hideyuki KURASHINA wrote:
> Hi,
> 
> 
>>>>On Fri, 10 Feb 2006 17:30:58 +0100, Pawel Mueller <pawel.mueller at rus.uni-stuttgart.de> said:
> 
> 
>>I had to hack the configure script in the line where as_dummy variable
>>is defined, because my sftp-server ist in /usr/lib64/ssh/ and the
>>--with-sftp-server flag simply ignored the path a gave it :-/
> 
> 
> I think you can specify SFTP server location without any hacks
> something like this:
> 
>   % pax -zrvf scponly-4.6.tgz 
>   % cp /usr/libexec/sftp-server /tmp 
>   % cd /tmp/scponly-4.6/
>   % ./configure --with-sftp-server=/tmp/sftp-server
>   [...]
>   configure: enabling SFTP compatability...
>   checking for sftp-server... /tmp/sftp-server
>   [...]
> 
> -- rushani

-- 
Pawel Müller (Hiwi)                Information & Medien
                                   und Verwaltung
Rechenzentrum
Universitaet Stuttgart
Allmandring 30
70550 Stuttgart                   http://www.rus.uni-stuttgart.de



More information about the scponly mailing list