Skip to content

Comment on Ask HN: What tools have helped you work on remote servers over SSH?

Comments

Learn Linux/Unix jobs; "<cmd> &" to start something in the background, "jobs" to list running jobs, Ctrl-Z to pause the running thing into the background, "bg <id>" to get a backgrounded job running in the background, "fg <id>" to bring a background job to the foreground.

Then learn a multiplexor like tmux or screen which can split windows and have virtual terminals inside one SSH session.

Then learn an editor like Vim or Emacs which has buffers and windowing inside that.

Then if on a laptop which roams, stack mosh on top to keep the SSH session open without reconnecting.

Then trash all that and do X-Forwarding over SSH to have GUI programs.

Then trash that and use VS Code or Emacs locally with remote editing plugins/config (e.g. https://code.visualstudio.com/docs/remote/ssh )

Then ditch that and have local editing with CI/CD to build and deploy to a remote server that you never touch.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.