'ControlPath' ssh client configuration file option requires OpenSSH 4.2 or
authorYang Tse <yangsita@gmail.com>
Fri, 4 Jan 2008 14:12:10 +0000 (14:12 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 4 Jan 2008 14:12:10 +0000 (14:12 +0000)
later to accept 'none' as an indication to disable connection multiplexing

tests/sshserver.pl

index dac46a9..f651e07 100644 (file)
@@ -746,6 +746,9 @@ if((($sshid =~ /OpenSSH/) && ($sshvernum >= 370)) ||
 
 if(($sshid =~ /OpenSSH/) && ($sshvernum >= 390)) {
     push @cfgarr, 'ControlMaster no';
+}
+
+if(($sshid =~ /OpenSSH/) && ($sshvernum >= 420)) {
     push @cfgarr, 'ControlPath none';
 }