Created
October 25, 2021 18:19
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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