Skip to content

Instantly share code, notes, and snippets.

@gifnksm
Created February 10, 2010 14:30
Show Gist options
  • Save gifnksm/300356 to your computer and use it in GitHub Desktop.
Save gifnksm/300356 to your computer and use it in GitHub Desktop.
http://blog.fuktommy.com/1159370954 の私家改造版 (~/.ssh/agent-env の実行が不要に)
function ssh-start() {
eval `/usr/local/bin/ssh-start`
}
[ -e "${HOME}/.ssh/agent-env" ] && . "${HOME}/.ssh/agent-env"
#!/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