From 24236d5e964d7e41a2579b0dc6ba8b49360295be Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 28 Dec 2023 00:40:52 +0200 Subject: luci-app-sshtunnel: servers: ProxyCommand option Signed-off-by: Sergey Ponomarev --- .../htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'applications/luci-app-sshtunnel/htdocs/luci-static') diff --git a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js index 88c3692728..7a45ddc32b 100644 --- a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js +++ b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js @@ -127,6 +127,14 @@ return view.extend({ o.default = 'accept-new'; o.modalonly = true; + o = s.taboption('advanced', form.Value, 'ProxyCommand', _('Proxy tunnel command'), + _('The command to use to connect to the server.') + '
' + + _('For example, the following command would connect via an HTTP proxy:') + '
' + + 'ncat --proxy-type http --proxy-auth alice:secret --proxy 192.168.1.2:8080 %h %p' + + _manSshConfig('ProxyCommand') + ); + o.modalonly = true; + return m.render(); }, }); -- cgit v1.2.3