Skip to content

Instantly share code, notes, and snippets.

@shiba-yu36
Created August 16, 2010 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiba-yu36/526291 to your computer and use it in GitHub Desktop.
Save shiba-yu36/526291 to your computer and use it in GitHub Desktop.
#!/bin/sh
ssh-agent | grep -v echo > "${HOME}/.ssh/agent-env"
. "${HOME}/.ssh/agent-env"
ssh-add
echo "please type:"
echo ". ~/.ssh/agent-env"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment