Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Silences SSH warnings (Errors still output of course).

Joao Patricio9a7a992495cb
diff --git a/app/Jobs/ExecuteCoolifyProcess.php b/app/Jobs/ExecuteCoolifyProcess.php
index 18e1715b95..a866158a65 100755
--- a/app/Jobs/ExecuteCoolifyProcess.php
+++ b/app/Jobs/ExecuteCoolifyProcess.php
@@ -55,6 +55,10 @@ class ExecuteCoolifyProcess implements ShouldQueue
$sshCommand = 'ssh '
. '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null '
. '-o PasswordAuthentication=no '
+ // Quiet mode. Causes most warning and diagnostic messages to be suppressed.
+ // Errors are still out put. This is to silence for example, that warning
+ // Permanently added <host and key type> to the list of known hosts.
+ . '-q '
. "-p {$port} "
. "{$user}@{$destination} "
. " 'bash -se' << \\$delimiter" . PHP_EOL