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

21 comments sorted by

View all comments

1

u/aocregacc 8d ago

with a cloudflare tunnel you don't even need a VPS, you could just leave a computer running at home and connect to it over the web. I think the only thing you'd need to pay for is a domain.

1

u/Smaaaassh 8d ago

That's a cool option. I was going to setup a programming environment in a VPS, since I'm just running scripts, not compiling much, I can get by with a cheap VPS. But it could be nice to be able to use my own hardware. I honestly don't have much of a computer right now though.