NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 09:47:17 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

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

2 points by otherayden 1d ago | 7 comments

ecesena 6h ago
I have a tmux split in 4. Personally I just use claude, but in any 4th you can run whatever you pref. Each agent has its own workspace (run in a diff dir), but they all share memory, skills, and can of course read each other work. Four is nothing special, just easy to still read in a 13” screen, easy to switch each pane to full screen and so on.

Edit: forgot the ssh part. Same setup on my mac, on my server, at work. So my UX is pretty much always the same. Most of the time it’s via ssh, yes, only rarely I use my mac.

artemave 1d 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 18h 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 14h 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 1d 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 1d 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 22h 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