ggh

Recall and manage your SSH session history easily

brewmacoslinux
Try with needOr install directly
Source

About

Recall your SSH sessions

Commands

ggh

Examples

List all SSH sessions from history$ ggh
Search for SSH sessions matching a host pattern$ ggh search example.com
Connect to a previous SSH session by selection$ ggh connect