diff --git a/src/Ssh/Client.php b/src/Ssh/Client.php index 96554a43d..22baef316 100644 --- a/src/Ssh/Client.php +++ b/src/Ssh/Client.php @@ -108,12 +108,10 @@ public function run(Host $host, string $command, array $config = []) public function upload(Host $host, $source, $destination) { - } public function download(Host $host, $source, $destination) { - } @@ -171,7 +169,7 @@ private function initMultiplexing(Host $host) $options .= " -o ControlMaster=auto"; $options .= " -o ControlPersist=60"; $options .= " -o ControlPath=$controlPath"; - + $process = new Process("ssh $options -O check -S $controlPath $host 2>&1"); $process->run(); diff --git a/src/Utility/Unix.php b/src/Utility/Unix.php index 472a56e02..2c8a3c9d7 100644 --- a/src/Utility/Unix.php +++ b/src/Utility/Unix.php @@ -25,4 +25,4 @@ public static function parseHomeDir(string $path): string return $path; } -} \ No newline at end of file +}