Skip to content

Instantly share code, notes, and snippets.

@nekoya
Created September 19, 2012 02:10
Show Gist options
  • Save nekoya/3747233 to your computer and use it in GitHub Desktop.
Save nekoya/3747233 to your computer and use it in GitHub Desktop.
ssh-start
#!/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