'LocalCommand' no longer used for ssh client config file. When used it
authorYang Tse <yangsita@gmail.com>
Fri, 4 Jan 2008 03:04:30 +0000 (03:04 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 4 Jan 2008 03:04:30 +0000 (03:04 +0000)
requires a non blank argument.

tests/sshserver.pl

index 2d95ea3..bec1d9f 100644 (file)
@@ -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';