hullarb / ssheasy

ssh, sftp client running in the browser powered by golang and wasm
232 stars 47 forks source link

Is it possible to access servers inside of private network with this ssh client? #1

Closed aleksandrlat closed 3 years ago

aleksandrlat commented 3 years ago

Is it possible to access servers inside of private network with this ssh client?

hullarb commented 3 years ago

it's possible if you install it within the private network. the public instance ssheasy.com can only access servers that are accessible from the public internet.

aleksandrlat commented 3 years ago

Thank you @hullarb!

But what do you mean by install? Is this not just web app?

aleksandrlat commented 3 years ago

Oh sorry I have not read description well enough It needs proxy server because it is not possible to connect from browser to ssh server directly.

hullarb commented 3 years ago

yes, @aleksandrlat and the proxy server needs to have access to the network of the target ssh server.

aleksandrlat commented 3 years ago

Thank you @hullarb!

Do you know if there is way to do it without proxy server? The client is downloaded to browser right? And if my browser is inside of private network ssh client should be able to access my server But it is not possible to do because I cannot establish ssh connection directly from browser, right?

hullarb commented 3 years ago

yes, from the browser (more like from javascript/wasm) you cannot open raw socket connection, you can only make http requests that would not work with ssh. it should be fairly easy to setup the server on (desktop) computer if you have docker installed on it. if you need help with that let me know.

aleksandrlat commented 3 years ago

Thank you @hullarb!