Skip to content

Commit

Permalink
Using -q hides errors and that's not a good thing
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrenaud committed Jun 3, 2021
1 parent d535516 commit 2e39a69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ConfigEnvironment.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ public function buildServerString()
return $host;
}

$options = '-qA'; // Same as '-q -A'
// Default options:
// [-A] Forward ssh agent
// [-o LogLevel=error] Suppress ssh banner
$options = '-A -o LogLevel=error';

if ($this->get('ssh_options')) {
$options .= ' '. trim($this->get('ssh_options'));
Expand Down

0 comments on commit 2e39a69

Please sign in to comment.