The library computers block the console and app installations. I'd like to connect to a cheap VPS and use Neovim there. Is there a reasonably safe browser-based terminal for this?
What's a safe way to SSH from a library browser?
Answers
Apache Guacamole is worth a look. You can host it yourself and connect through a browser, and it supports SSH as well as remote desktops. It's more setup than a bare terminal, but you wouldn't need to install a client on the library computer.
Put it behind HTTPS and strong authentication, keep it updated, and check the library's rules before using it. A browser gateway can expose a shell, so treat it as a sensitive service rather than just another webpage.
Reply to this answer
Check your VPS provider's control panel too. Some providers offer a browser console, which could save you from hosting another service. It may be intended for recovery rather than everyday work, so test whether the speed and keyboard behavior are comfortable for Neovim.
Reply to this answer
A browser extension could be convenient, but the library may block extensions just like other installations. Also check whether a particular extension still works in the browser version there. An older SSH extension's documentation may describe features that no longer apply.
Reply to this answer
The shared computer is the awkward part here. Even if your connection is encrypted, you can't be sure what software is running on the machine or whether it records keystrokes. Avoid saving passwords or keys in the browser, sign out when you're done, and consider a separate account on the VPS with limited access. For anything especially sensitive, use a trusted device instead.
Reply to this answer
Cloudflare Tunnel is another route if you want to reach a machine without exposing it directly, including a computer at home. It's a different setup from a browser terminal though. Check the access and authentication requirements before choosing it, and factor in any domain or service costs.
b.614+sparekey:
A tunnel alone doesn't guarantee you'll get the browser SSH experience you're after. Check how the terminal itself would be provided.
Reply to this answer
Add your answer
Answers are reviewed before publication.
8e!rxbranch_271:
SSH is all I need, so I'll compare the setup with a simpler terminal gateway.