Skip to content

Instantly share code, notes, and snippets.

@mirzap
Created September 9, 2013 08:14
Show Gist options
  • Save mirzap/6492804 to your computer and use it in GitHub Desktop.
Save mirzap/6492804 to your computer and use it in GitHub Desktop.
SSH agent
Restart SSH Agent:
killall ssh-agent; eval `ssh-agent`
Add identity to the SSH Agent
ssh-copy-id -i ~.ssh/key_name.pub user@host
or
ssh-add ~/.ssh/your-key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment