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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: always validate ssh key
Andras Bacsaief629d581658
diff --git a/app/Helpers/SshMultiplexingHelper.php b/app/Helpers/SshMultiplexingHelper.phpindex 09ddbdde61..8da476b9e0 100644--- a/app/Helpers/SshMultiplexingHelper.php+++ b/app/Helpers/SshMultiplexingHelper.php@@ -30,8 +30,6 @@ class SshMultiplexingHelper$sshConfig = self::serverSshConfiguration($server);$muxSocket = $sshConfig['muxFilename'];- self::validateSshKey($server->privateKey);-$checkCommand = "ssh -O check -o ControlPath=$muxSocket ";if (data_get($server, 'settings.is_cloudflare_tunnel')) {$checkCommand .= '-o ProxyCommand="cloudflared access ssh --hostname %h" ';@@ -118,6 +116,9 @@ class SshMultiplexingHelper$sshConfig = self::serverSshConfiguration($server);$sshKeyLocation = $sshConfig['sshKeyLocation'];++ self::validateSshKey($server->privateKey);+$muxSocket = $sshConfig['muxFilename'];$timeout = config('constants.ssh.command_timeout');