Created
March 21, 2018 21:31
-
-
Save Bodge-IT/48871de55789f5b2e871805ad1a844af to your computer and use it in GitHub Desktop.
Copy SSH keys to each node
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
This step is optional, but it allow us to easily SSH into each node without using a password. | |
I'll use the ssh-copy-id command to copy my public key to the remote server. | |
If you don't have a key generated already, you can do so with: | |
ssh-keygen -t rsa | |
Hit enter twice and leave the passphrase empty (unless you really want to use a passphrase). | |
Then copy the key to each node with: | |
ssh-copy-id pi@docker1 | |
You'll have to enter your password to copy the key. Do this for each node. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment