From 2b15823dab89d504eee57bf91f3757a90ab3497b Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 17 Nov 2007 02:28:54 +0000 Subject: Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list --- tests/sshserver.pl | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index bdff5a9bb..3a30fbe5e 100644 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -26,7 +26,23 @@ if ($^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys' || $^O eq 'dos' || $^O } # Where to look for sftp-server -my @sftppath=qw(/usr/lib/openssh /usr/libexec/openssh /usr/libexec /usr/local/libexec /opt/local/libexec /usr/lib/ssh /usr/libexec/ssh /usr/sbin /usr/lib /usr/lib/ssh/openssh /usr/lib64/ssh /usr/lib64/misc /usr/lib/misc); +my @sftppath = qw( + /usr/lib/openssh + /usr/libexec/openssh + /usr/libexec + /usr/local/libexec + /opt/local/libexec + /usr/lib/ssh + /usr/libexec/ssh + /usr/sbin + /usr/lib + /usr/lib/ssh/openssh + /usr/lib64/ssh + /usr/lib64/misc + /usr/lib/misc + /usr/local/sbin + /usr/freeware/bin + ); my $username = $ENV{USER}; -- cgit v1.2.3