A while back I wrote a CLI script that I use to manage connecting via SSH to various servers. I’m aware that I can create multiple config options in
~/.ssh/config; however, with 25+ servers that I frequently connect to, I prefer being able to select my servers from a list rather than remember the name of the alias I setup. Here’s a demo of my script which I call
I’ve toyed around with releasing my script for distribution. If you’re interested, let me know. Otherwise, if I’m “doing it wrong”, and you have some better way of achieving what I’m after, leave a comment, and I may just abandon my project. 😉
Also, this post was a good excuse for me to learn how to use asciinema, “a free and open source solution for recording terminal sessions and sharing them on the web”.
Also published on Medium.