Skip to content

Instantly share code, notes, and snippets.

@tranthamp
Created July 2, 2012 18:13
Show Gist options
  • Save tranthamp/3034670 to your computer and use it in GitHub Desktop.
Save tranthamp/3034670 to your computer and use it in GitHub Desktop.
ssh-agent notes
// Kill the current ssh-agent
ssh-agent -k
kill <pid>
// Remove identities
ssh-add -D
// Add new id
ssh-add
<enter password>
// Restart the agent
ssh-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment