Skip to content

Instantly share code, notes, and snippets.

@nekoya
Created May 28, 2009 06:55
Show Gist options
  • Save nekoya/119146 to your computer and use it in GitHub Desktop.
Save nekoya/119146 to your computer and use it in GitHub Desktop.
ssh-agent starter. exec ~/.ssh/agent-env on your screen.
!/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