Jerod Santo changelog.com/posts

warp: a bash script to SSH from a list of hostnames

I maintain a pretty large ~/.ssh/config, so Jonathan Palardy's take on solving the same problem appeals to me. His pitch:

Imagine if you could SSH somewhere by picking a hostname from a list.

He then goes on to answer why warp is a good solution:

If you have a bunch of servers you can SSH to, think about how you manage that now:

  • you TYPE the hostname, maybe relying on bash completion?
  • you create a BUNCH of aliases, with varying level of sophistication, based on how many hostnames?

Picking from a list solves all that.

He's got me pinned. I have a lot of aliases and I often have to look them up when I haven't connected to a server for awhile. Here's warp in action:

warp


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00