Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active February 3, 2026 20:21
Show Gist options
  • Select an option

  • Save dacr/4b2373499c93f5ccb1f80695d25968d1 to your computer and use it in GitHub Desktop.

Select an option

Save dacr/4b2373499c93f5ccb1f80695d25968d1 to your computer and use it in GitHub Desktop.
ssh cheat sheet / published by https://github.com/dacr/code-examples-manager #afbdfa64-a543-42ae-bda8-8d1ff5bf412e/ca3807269da16a303aa91ce848253da3e75d2f56

SSH cheat sheet

Client usage

Preload several ssh keys

eval $(ssh-agent) && ssh-add $(ls ~/.ssh/id_* | grep -v .pub | grep -v .pem)
sudo apt-get install ssh-askpass
export SSH_ASKPASS=/usr/bin/ssh-askpass
eval $(ssh-agent) && ssh-add $(ls ~/.ssh/id_* | grep -v .pub | grep -v .pem)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment