diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2023-12-28 19:39:51 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway@gmail.com> | 2023-12-28 17:46:49 +0000 |
commit | 255aef1748309d065795f551b1994f2cd807b668 (patch) | |
tree | 8d0d4afec8cfe8dfc0633f5c031b65ba5ede2f54 /applications/luci-app-sshtunnel/htdocs | |
parent | 23df9c2fbf2eafdb208b1461ba0d823d989819d7 (diff) |
luci-app-sshtunnel: servers: ProxyCommand option
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-sshtunnel/htdocs')
-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(); }, }); |