diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2023-12-28 00:40:52 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway@gmail.com> | 2023-12-28 15:19:18 +0000 |
commit | 24236d5e964d7e41a2579b0dc6ba8b49360295be (patch) | |
tree | 3ac9a748ab87420b06f2fb81cd010a024fba2b25 /applications/luci-app-sshtunnel/htdocs/luci-static | |
parent | 0f794ac76c53b154694b8ee9be4772a501faa76f (diff) |
luci-app-sshtunnel: servers: ProxyCommand option
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-sshtunnel/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js | 8 |
1 files changed, 8 insertions, 0 deletions
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.') + '<br />' + + _('For example, the following command would connect via an HTTP proxy:') + '<br />' + + '<code>ncat --proxy-type http --proxy-auth alice:secret --proxy 192.168.1.2:8080 %h %p</code>' + + _manSshConfig('ProxyCommand') + ); + o.modalonly = true; + return m.render(); }, }); |