Skip to content

Instantly share code, notes, and snippets.

@sverweij
Created January 28, 2017 11:50
Show Gist options
  • Save sverweij/220488e2faa55a920a724df275c24955 to your computer and use it in GitHub Desktop.
Save sverweij/220488e2faa55a920a724df275c24955 to your computer and use it in GitHub Desktop.
# you can check that with ssh-add
ssh-add -l
# response when these steps need to be taken: 'The agent has no identities.'
# response when everything ok would be more like: '2048 SHA256:yourkey /Users/youryousername/.ssh/id_rsa (RSA)'
# start the ssh-agent
ssh-agent -s
# add your keys.
ssh-add ~/.ssh/id_rsa
# ssh-add will ask for your pasphrase. Enter it.
# now check whether it worked:
ssh-add -l
# output should look a bit like '2048 SHA256:yourkey /Users/youryousername/.ssh/id_rsa (RSA)''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment