diff --git a/src/Commands/Remote/SSHBaseCommand.php b/src/Commands/Remote/SSHBaseCommand.php index 129bc44a5..e5b6e8715 100755 --- a/src/Commands/Remote/SSHBaseCommand.php +++ b/src/Commands/Remote/SSHBaseCommand.php @@ -372,7 +372,13 @@ private function getConnectionString() { $sftp = $this->environment->sftpConnectionInfo(); $command = $this->getConfig()->get('ssh_command'); - + if ($this->output()->isDebug()) { + $command .= ' -vvv'; + } elseif ($this->output()->isVeryVerbose()) { + $command .= ' -vv'; + } elseif ($this->output()->isVerbose()) { + $command .= ' -v'; + } return vsprintf( '%s -T %s@%s -p %s -o "StrictHostKeyChecking=no" -o "AddressFamily inet"', [$command, $sftp['username'], $this->lookupHostViaAlternateNameserver($sftp['host']), $sftp['port']]