Writing, publishing, geekdom, and errata.

Free software activities: SSH and TMUX, combined

No comments
I use SSH to manage a number of machines around my place, and sometimes having too many terminal windows open confuses this silly bear.

I poked around at some GUI SSH managers, but they either seemed overkill or too complicated or too mouse dependent for what I needed.

So, using the power of tmux sessions, I crafted a script that will create a new specialized session for SSH connections (if it's not already existing) and open a new, named window with that connection in it. And for bonus points, if there's already a terminal window open and attached to that tmux session, it won't attach - it'll just point you to the one already open.

I call it SSH Master (because ego, duh) and you can find it on github at https://github.com/uriel1998/sshmaster

No comments :