mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
Fix default for ssh_multiplexing configuration
This commit is contained in:
parent
e1bc51d8ae
commit
4ec3030a07
@ -54,7 +54,7 @@ class NativeSsh implements ServerInterface
|
||||
'-o StrictHostKeyChecking=no'
|
||||
];
|
||||
|
||||
if (\Deployer\get('ssh_multiplexing')) {
|
||||
if (\Deployer\get('ssh_multiplexing', false)) {
|
||||
$this->initMultiplexing();
|
||||
$sshOptions = array_merge($sshOptions, $this->getMultiplexingSshOptions());
|
||||
}
|
||||
@ -142,7 +142,7 @@ class NativeSsh implements ServerInterface
|
||||
$scpOptions[] = '-i ' . escapeshellarg($serverConfig->getPrivateKey());
|
||||
}
|
||||
|
||||
if (\Deployer\get('ssh_type_native_mux')) {
|
||||
if (\Deployer\get('ssh_multiplexing', false)) {
|
||||
$this->initMultiplexing();
|
||||
$scpOptions = array_merge($scpOptions, $this->getMultiplexingSshOptions());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user