diff options
-rw-r--r-- | tests/sshserver.pl | 18 |
1 files changed, 17 insertions, 1 deletions
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}; |