Skip to content

Instantly share code, notes, and snippets.

@pxlpnk
Created February 18, 2015 20:43
Show Gist options
  • Save pxlpnk/912b526d16cabe1cc978 to your computer and use it in GitHub Desktop.
Save pxlpnk/912b526d16cabe1cc978 to your computer and use it in GitHub Desktop.
ssh-switch
#!/bin/bash
echo $1
ssh-add -D
ssh-add ~/.ssh/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment