|
|
|
Ask HN: What tools have helped you work on remote servers over SSH?
|
|
4 points
by Zyst
1011 days ago
|
|
Hey HN! At work I'm using a Remote Devservers for most of my work. This means you mostly live inside SSH all day, and don't have access to a graphical environment. What tools have you found most helpful to be productive in a setup like that? My largest fear so far is keeping which server I'm currently connected to straight. |
|
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.