Skip to content

Instantly share code, notes, and snippets.

@vtedesco
Created August 31, 2014 17:05
Show Gist options
  • Save vtedesco/63944977ffd95c65f977 to your computer and use it in GitHub Desktop.
Save vtedesco/63944977ffd95c65f977 to your computer and use it in GitHub Desktop.
hssh (History for SSH - help you to quickly find your previous SSH hosts)
alias hssh="history | grep ' ssh'"
@vtedesco
Copy link
Author

use like this :

vivien$ hssh
    > 230 ssh [email protected]
    > 234 ssh [email protected]
vivien$ !230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment