Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe I’m misunderstanding, but I think what you want already exists as VSCodes remote SSH tunnel port forwarding (not the one that makes it publicly accessible).

Startup a dev server on the remote machine and forward the port to localhost. It should now be accessible via http://localhost:[port] on your local machine in the browser or any application, as if it’s running locally.

I find it’s very useful for also for interacting with DBs/Redis. Just forward the port your DB communicates on and use whatever client on your local machine to interact with it.

As far as I know this works with any service that communicates via TCP



Yeah, it would help with using the tool to access a private-to-the-remote API.

Won't immediately help with giving that tool access to the file system or Git.

For a local VM, you can have file system mounts, fast enough for Git.

SSHFS could help in some genuinely distant remotes with access to the file system (though SSHFS in the context of multiple file writers is fraught with risk of file corruption; been there, bought that T-shirt).

With properly network-remote VMs, nothing helps that much with giving the tool access to performing Git operations on changes inside your remote: Git is slow over network file systems even when they are quite local.

This is the real power of the VS Code remote after all; everything happens there.




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

Search: