Skip to content

Instantly share code, notes, and snippets.

@joonassandell
Last active September 13, 2016 15:54
Show Gist options
  • Save joonassandell/68067597ba61a0bb9d5a69a9da8fffbe to your computer and use it in GitHub Desktop.
Save joonassandell/68067597ba61a0bb9d5a69a9da8fffbe to your computer and use it in GitHub Desktop.
Random commands I usually forget
# Curl
**Test origin to a target**:
`curl -i -H "Origin: http://origindomain.com" targetdomain.com`
# SSH
**Show all added keys**:
`ssh-add -l`
**Add new key**:
`ssh-add path/to/key`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment