Created
July 30, 2016 20:12
-
-
Save JordiCorbilla/d50e0c34412713397fbf414a06d9d0b3 to your computer and use it in GitHub Desktop.
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
# ****************************** | |
# These steps will allow you to configure SSH on every device | |
# Jordi Corbilla | |
# ****************************** | |
# run this from PiController using PuTTY | |
cd ~ | |
cd .ssh | |
scp 192.168.1.71:/home/pi/.ssh/pi01 . | |
cat pi01 >> authorized_keys | |
scp 192.168.1.73:/home/pi/.ssh/pi02 . | |
cat pi02 >> authorized_keys | |
scp 192.168.1.75:/home/pi/.ssh/pi03 . | |
cat pi03 >> authorized_keys | |
# run this from pi01 using PuTTY | |
cd ~ | |
cd .ssh | |
scp 192.168.1.73:/home/pi/.ssh/pi02 . | |
cat pi02 >> authorized_keys | |
scp 192.168.1.75:/home/pi/.ssh/pi03 . | |
cat pi03 >> authorized_keys | |
# run this from pi02 using PuTTY | |
cd ~ | |
cd .ssh | |
scp 192.168.1.71:/home/pi/.ssh/pi01 . | |
cat pi01 >> authorized_keys | |
scp 192.168.1.75:/home/pi/.ssh/pi03 . | |
cat pi03 >> authorized_keys | |
# run this from pi03 using PuTTY | |
cd ~ | |
cd .ssh | |
scp 192.168.1.71:/home/pi/.ssh/pi01 . | |
cat pi01 >> authorized_keys | |
scp 192.168.1.73:/home/pi/.ssh/pi02 . | |
cat pi02 >> authorized_keys | |
# Inspect each authorized_keys file on each device and you will see the keys there for every device |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment