From 8c65652c64ad9b4942d1ccd6a5dd333eb876b330 Mon Sep 17 00:00:00 2001 From: Calvo Date: Fri, 28 Apr 2023 14:06:35 +0200 Subject: [PATCH] Fix gotty host missing on ws.php --- pandora_console/ws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/ws.php b/pandora_console/ws.php index c55e884d24..798381b69d 100644 --- a/pandora_console/ws.php +++ b/pandora_console/ws.php @@ -116,7 +116,7 @@ if (substr($os, 0, 3) !== 'win') { // Common. $base_cmd = 'nohup "'.$config['gotty'].'" '.$gotty_creds; - $base_cmd .= ' --permit-arguments -a 127.0.0.1 -w '; + $base_cmd .= ' --permit-arguments -a '.$config['gotty_host'].' -w '; // Launch gotty - SSH. $cmd = $base_cmd.' --port '.$config['gotty_ssh_port'];