Ask HN: What's your SSH terminal workflow like?

I recently transitioned into doing most of my work via SSH running on an old server I've had lying around my house. Currently using tmux, ssh, neovim for file editing, and switching between claude code and codex for terminal coding agents. Is this as good of a setup as one can get? Anything I'm missing out on?

2 points | by otherayden 15 hours ago

7 comments

  • artemave 10 hours ago
    One thing you might be missing is better integration between the local desktop and the remote environment. Things like persistent ssh connections, seamless clipboard sharing (including images), port forwarding and file path translation, so that working remotely feels almost indistinguishable from working locally.

    I wrote a session manager[1] to handle all that. Linux/sway/kitty only though.

    [1] https://github.com/artemave/hop

    • otherayden 4 hours ago
      I have been dying for clipboard sharing actually. I have sort of a hacky solution using scp and xclip but I will definitely be checking out the session manager
      • artemave 21 minutes ago
        If all you want is clipboard integration over ssh, then, perhaps, kitty terminal might be enough.

        hop does take it a notch further and allows to `hop open` images (or any binary really) from the remote machine such that they are opened by your host's xdg-open (as well as pasting images from host to remote).

  • SurfingAlpaca 15 hours ago
    Back in the day I used to do ssh, tmux, vim for most of my work on the server and sshfs for stuff where I needed my IDE. In the last 10 years I think the only thing thats changed is adding agents to the mix (and no longer needing sshfs). Some files kinda open slow on vim or screw up the syntax highlighting so I switch to nvim/helix (still evaluating both. Don’t know what to pick)
    • otherayden 14 hours ago
      How often do you manually edit text files these days? I have been a neovim power user for a few years now but I find that I almost never open it anymore since I use agents for most code.
  • Am4TIfIsER0ppos 8 hours ago
    sshfs so you can either edit on the remote file system with your local editor or have your editor save a copy to the remote system
  • yoanwaidev 1 hour ago
    [flagged]
  • mattbaconz 3 hours ago
    [flagged]
  • tallyassistant 13 hours ago
    [flagged]
  • coderai 12 hours ago
    [dead]