Skip to content

Instantly share code, notes, and snippets.

@HacDan
Last active February 29, 2024 20:00
Show Gist options
  • Save HacDan/2e098469cda0d8793b6c0564de2d0d1e to your computer and use it in GitHub Desktop.
Save HacDan/2e098469cda0d8793b6c0564de2d0d1e to your computer and use it in GitHub Desktop.
Fuzzy SSH from ssh config
#!/bin/sh
ssh $(cat ~/.ssh/config | grep "Host " | awk '{print $2}' | fzf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment