Skip to content

Instantly share code, notes, and snippets.

@andmax
Created October 25, 2021 18:19
Show Gist options
  • Save andmax/2fc3e8f3204b443b39d10d48e9c8b684 to your computer and use it in GitHub Desktop.
Save andmax/2fc3e8f3204b443b39d10d48e9c8b684 to your computer and use it in GitHub Desktop.
Hint to use SSH agent to avoid entering passphrase to connect to a node using private key
.ssh/config:
Host *
(...)
AddKeysToAgent yes
(...)
eval `ssh-agent`
ssh-copy-id -i ~/.ssh/id_rsa.pub node:
ssh node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment