mirror of https://github.com/moparisthebest/curl
'LocalCommand' no longer used for ssh client config file. When used it
requires a non blank argument.
This commit is contained in:
parent
fd8d862c37
commit
f5da1e5484
|
@ -649,7 +649,7 @@ if(! -e $knownhosts) {
|
||||||
# KeepAlive : OpenSSH 1.2.1 and later
|
# KeepAlive : OpenSSH 1.2.1 and later
|
||||||
# KbdInteractiveAuthentication : OpenSSH 2.3.0 and later
|
# KbdInteractiveAuthentication : OpenSSH 2.3.0 and later
|
||||||
# KbdInteractiveDevices : OpenSSH 2.3.0 and later [3]
|
# KbdInteractiveDevices : OpenSSH 2.3.0 and later [3]
|
||||||
# LocalCommand : OpenSSH 4.3.0 and later
|
# LocalCommand : OpenSSH 4.3.0 and later [3]
|
||||||
# LocalForward : OpenSSH 1.2.1 and later [3]
|
# LocalForward : OpenSSH 1.2.1 and later [3]
|
||||||
# LogLevel : OpenSSH 1.2.1 and later
|
# LogLevel : OpenSSH 1.2.1 and later
|
||||||
# MACs : OpenSSH 2.5.0 and later [3]
|
# MACs : OpenSSH 2.5.0 and later [3]
|
||||||
|
@ -776,10 +776,6 @@ if((($sshid =~ /OpenSSH/) && ($sshvernum < 380)) ||
|
||||||
push @cfgarr, 'KeepAlive no';
|
push @cfgarr, 'KeepAlive no';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(($sshid =~ /OpenSSH/) && ($sshvernum >= 430)) {
|
|
||||||
push @cfgarr, 'LocalCommand';
|
|
||||||
}
|
|
||||||
|
|
||||||
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 300)) ||
|
if((($sshid =~ /OpenSSH/) && ($sshvernum >= 300)) ||
|
||||||
($sshid =~ /SunSSH/)) {
|
($sshid =~ /SunSSH/)) {
|
||||||
push @cfgarr, 'NoHostAuthenticationForLocalhost no';
|
push @cfgarr, 'NoHostAuthenticationForLocalhost no';
|
||||||
|
|
Loading…
Reference in New Issue