2
1
Is it possible to create a SSH tunnel by JavaScript from a webpage to access resources on a internal network? Do I need a jump box for this?
2
1
Is it possible to create a SSH tunnel by JavaScript from a webpage to access resources on a internal network? Do I need a jump box for this?
1
This is called Web-based SSH, which requires a server-side component that does the actual work. So in essence, JavaScript can only go via a server that does the SSH part, while the client only transmits key-strokes to the server and processes the terminal output returned by the server.
If you are looking for such software, the following Github projects might be useful:
I want to create a tunnel from a website to a host behind the SSH server. RDS does something simular with RDweb. – Wotikar – 2020-02-19T13:12:01.623