mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list
This commit is contained in:
parent
59dcc7e191
commit
2b15823dab
@ -26,7 +26,23 @@ if ($^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys' || $^O eq 'dos' || $^O
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Where to look for sftp-server
|
# 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};
|
my $username = $ENV{USER};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user