Hacker News new | past | comments | ask | show | jobs | submit login

I use VSCode + SSH remote for this and works great. The only nitpick I have is needing to manually reconnect when I suspend my laptop and ssh connection breaks. It's a separate session though, which doesn't matter to me but may be a deal breaker for you.

I use Tailscale for a personal VPN so the beefy workstation is always securely available from my laptop, even when across the pond).




Thank you both for sharing the experience.

I'm tempted to go lightweight laptop + beef server.

Do you get used to the the input delay? I guess coding is not a FPS game so it's fine. Just a flow of words being edited.


There's no input delay in VSCode (editor, ui) because the UI is local. Delay in saving/reading/sesrching in files is not noticable for me.

(edit to explain: VSCode is still running locally, but it also installs the server-side (headless) component on the remote machine. That way editing files is local/fast, but stuff like running the code, search/replace/etc also works fadt because it's handled by the serverside).

Terminal (incl vscode terminal) feels slightly sluggish, and it's noticable if the server is in another country and uncomfortable if across the pond.


Thank you. Sounds like best of both worlds.


Do you get used to the input delay?

The input delays are very dependent on where the server is and what it is doing. If the server is idle and close by (ping wise) delay is virtually indistinguishable from local VSCode. If I'm connecting to the server via a VPN in a different country while stressing all the cores with some background compiling or number crunching work, input delay gets quite noticeable.


I guess editing files in the same continent must feel good enough.

Thank you! I should try a project in this way.

Perhaps rent some hetzner VPS.


10 years ago I was using https://mosh.org/ to sutomatically reconnect ssh sessions.


VSCode uses ordinary ssh tho.

I multiplex my ssh connections so the workflow is just ssh sgain, then reload VSCode window. If Mosh could multiplex these (and paper over the connection problems) that'd be great but after a cursory look, it doesn't look like it's possible.

It's a minor thing tho.

In general, I quite like Mosh! If I routinely had to work on faraway servers I'd use mosh just for its smart local echo.


AutoSSH has been doing that since forever too (in most distros, ie apt-get install autossh)

https://github.com/Autossh/autossh





Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: