protected function testSshCredentials() { $sshCommand = (string) $this->makeSshCommand('echo "foo"'); if ($this->debug) { $this->output->writeln($sshCommand); return true; } exec($sshCommand, $output, $status); return $status === 0; }