summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sshtunnel/htdocs/luci-static
diff options
context:
space:
mode:
authorSergey Ponomarev <stokito@gmail.com>2023-12-28 00:40:52 +0200
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2023-12-28 15:19:18 +0000
commit24236d5e964d7e41a2579b0dc6ba8b49360295be (patch)
tree3ac9a748ab87420b06f2fb81cd010a024fba2b25 /applications/luci-app-sshtunnel/htdocs/luci-static
parent0f794ac76c53b154694b8ee9be4772a501faa76f (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.js8
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();
},
});