Skip to content

Instantly share code, notes, and snippets.

@michaelklapper
Created February 15, 2013 15:13
Show Gist options
  • Save michaelklapper/4960956 to your computer and use it in GitHub Desktop.
Save michaelklapper/4960956 to your computer and use it in GitHub Desktop.
Add private SSH-key to agent on shell login. #windows7 #git #bash
#!/bin/bash
eval `ssh-agent -s`
ssh-add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment