SSH tunnel from webpage

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?

Wotikar

Posted 2020-02-18T19:46:19.173

Reputation: 23

Answers

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:

harrymc

Posted 2020-02-18T19:46:19.173

Reputation: 306 093

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