fix(cgi-bin): use unspecified instead of loopback address in SSH tunnel

main
Tsu-ba-me 3 years ago
parent b3b6da8259
commit 7e447000b4
  1. 2
      tools/striker-open-ssh-tunnel

@ -81,7 +81,7 @@ WHERE hos.host_name = ".$anvil->Database->quote($target)."
} }
$ssh_fh->system({ ssh_opts => [ "-O", "forward", $ssh_fh->system({ ssh_opts => [ "-O", "forward",
"-L".$forward_local_port.":localhost:".$forward_remote_port ] }); "-L0.0.0.0:".$forward_local_port.":0.0.0.0:".$forward_remote_port ] });
return 0; return 0;
} }

Loading…
Cancel
Save