diff --git a/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php b/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php --- a/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php +++ b/src/applications/drydock/interface/command/DrydockSSHCommandInterface.php @@ -83,7 +83,7 @@ 'ConnectTimeout='.$this->connectTimeout); } - return new ExecFuture( + $future = new ExecFuture( 'ssh '. '-o StrictHostKeyChecking=no '. '-o UserKnownHostsFile=/dev/null '. @@ -95,5 +95,7 @@ $this->passphraseSSHKey->getUsernameEnvelope(), $this->getConfig('host'), $full_command); + $future->setPowershellXML($this->getConfig('platform') === 'windows'); + return $future; } }