Commit 61a2d5ea authored by Yang Tse's avatar Yang Tse
Browse files

'ControlPath' ssh client configuration file option requires OpenSSH 4.2 or

later to accept 'none' as an indication to disable connection multiplexing
parent c479c643
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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';
}