Skip to content

Instantly share code, notes, and snippets.

@mijdavis2
Created November 7, 2019 17:24
Show Gist options
  • Save mijdavis2/617fedc02084e512f569d6ff88683230 to your computer and use it in GitHub Desktop.
Save mijdavis2/617fedc02084e512f569d6ff88683230 to your computer and use it in GitHub Desktop.
Bring ssh keys along through jump boxes without copying private keys onto nodes.
eval $( ssh-agent )
# Can add as many keys as you want
ssh-add /path/to/key
ssh -A user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment