4 ms·
SSH port forwarding is one amazing aspect of this software. For one example, you can develop on a remote system by forwarding your local port 3000 to the remote
by j_m_b 2y ago
SSH port forwarding is one amazing aspect of this software. For one example, you can develop on a remote system by forwarding your local port 3000 to the remote 3000, using something like `ssh -nFL 3000:localhost:3000 user@remote`, all while going through SSH! It's an indispensable tool for modern development.
- bloopernova 2y agoAhh, good times. SSH tunnels and FoxyProxy to run X11 applications on remote servers.
- Sebb767 2y agoYou can also simply use `ssh -X`/`ssh -Y` and use your local X/Xwayland server for the remote app. This way you can start remote GUI apps like local ones from your shell.
- juujian 2y agoHow is the latency on that?
- pxc 2y agoFine if you're on the LAN, but for WAN connections you generally want xpra or NX.
- pizlonator 2y agoSurprisingly good. I was running emacs on a machine in the cloud on the east coast, tunneling to my X server on my laptop on the west coast. No visible keystroke latency. Only noticeable latencies were copy/paste and initial startup but those were only bad enough to be noticeable, not bad enough to annoy me.