Created
February 18, 2015 20:43
-
-
Save pxlpnk/912b526d16cabe1cc978 to your computer and use it in GitHub Desktop.
ssh-switch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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