[Sussex] RPi, SSH singal user - multiple keys

Andrew Guard andrew12 at andrewguard.com
Mon Jan 7 12:33:53 UTC 2013


I am trying to get SSH work with a signal user but be able use
multiple keys. I am going to set up multiple PI systems.
Each PI will use very same (lets say) master key. The master key will
be how I log in system.
Then each PI have an indervigal key. That before the user of that PI
to gain access.

Now there is only going to be 1 user "PI", both MASTER key and USER
key will be able log in system using these keys as "PI".

.pi at raspberrypi ~/.ssh $ ls -l
total 20
-rw------- 1 pi pi  226 Jan  7 11:04 authorized_keys1
-rw------- 1 pi pi  226 Jan  6 20:00 authorized_keys2
-rw------- 1 pi pi  127 Jan  7 12:09 config
-rw------- 1 pi pi 1679 Dec 16 19:52 id_rsa
-rw-r--r-- 1 pi pi  396 Dec 16 19:52 id_rsa.pub



pi at raspberrypi ~/.ssh $ more ~/.ssh/config
Host *
  IdentityFile ~/.ssh/authorized_keys1
  User pi

Host *
  IdentityFile ~/.ssh/authorized_keys2
  User pi



More information about the Sussex mailing list