]> granicus.if.org Git - curl/commitdiff
'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 dac46a9f423ba0dc4f143483b82865b9cdb4f095..f651e0714df62b61b30c9f83516e45c2ac9f5d96 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';
 }