aboutsummaryrefslogtreecommitdiff
path: root/tests/sshserver.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-11-17 02:28:54 +0000
committerYang Tse <yangsita@gmail.com>2007-11-17 02:28:54 +0000
commit2b15823dab89d504eee57bf91f3757a90ab3497b (patch)
tree05f09beea08d0faca8b032531c014ac1a4d2c8bc /tests/sshserver.pl
parent59dcc7e1914f31d9b8ef8a45b35f76529cf3dc71 (diff)
Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list
Diffstat (limited to 'tests/sshserver.pl')
-rw-r--r--tests/sshserver.pl18
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};