Commit f5da1e54 authored by Yang Tse's avatar Yang Tse
Browse files

'LocalCommand' no longer used for ssh client config file. When used it

requires a non blank argument.
parent fd8d862c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -649,7 +649,7 @@ if(! -e $knownhosts) {
#  KeepAlive                         : OpenSSH 1.2.1 and later
#  KbdInteractiveAuthentication      : OpenSSH 2.3.0 and later
#  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]
#  LogLevel                          : OpenSSH 1.2.1 and later
#  MACs                              : OpenSSH 2.5.0 and later [3]
@@ -776,10 +776,6 @@ if((($sshid =~ /OpenSSH/) && ($sshvernum < 380)) ||
    push @cfgarr, 'KeepAlive no';
}

if(($sshid =~ /OpenSSH/) && ($sshvernum >= 430)) {
    push @cfgarr, 'LocalCommand';
}

if((($sshid =~ /OpenSSH/) && ($sshvernum >= 300)) ||
    ($sshid =~ /SunSSH/)) {
    push @cfgarr, 'NoHostAuthenticationForLocalhost no';