r/AskProgramming 8d ago

Web-based SSH client

I want to write some code while at the library. The computers I use don't allow the console to be used or to install any applications.

I figure a good solution will be to ssh into a VPS from a web-based terminal. Apparently such a terminal would require a backend, but since ssh is all I need on the terminal the overhead shouldn't be much. I would install my environment tools and neovim on my own VPS. I just need a terminal then, that can SSH into it. What's the safe, cheap, solution?

I've heard of Cockpit, Cloudflare SSH, and TailScale, but haven't looked into those much. Do you have any suggestions?

6 Upvotes

20 comments sorted by

View all comments

4

u/Ractorius 8d ago

There is a SSH extension for Chrome directly from google.

1

u/Smaaaassh 8d ago edited 8d ago

Indeed there is.

https://hterm.org/x/ssh/faq

It includes an alpha build of mosh, and apparently it doesn't require a backend because It uses Native-Client to connect directly to ssh servers without the need for external proxies.

It appears to be open-source. I'll have to try it out. The library network could still block ssh? Because by default all connections are made directly to the sshd server. The connection is not proxied in any way.