cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unavailable sshd when not in PATH

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 29 Mar 2007 23:16:08 -0700

On Fri, Mar 30, 2007 at 05:20:16AM +0200, Yang Tse wrote:
> Current sshserver.pl is searching for sshd in PATH and for the
> sftp-server plugin in a given set of locations.
>
> If sshd happens not to be found in the PATH, tests 6XX fail.
>
> I've been able to complete 6XX tests on Cygwin using the attached patch.
>
> With it sshd and sftp-server are both searched first in the PATH and
> afterwards in the given set of locations.

Looks good to me! I was wondering how best to find sftp-server on
Cygwin without forcing the user to hard-code it, but assuming it's in the
PATH makes perfect sense. There are even a few UNIXes where that will
work, in case it's not found in hard-coded paths.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-30