221
Chapter 15: Advanced Configuration
Master
Slave
Slave
-----BEGIN RSA
PRIVATE KEY-----
MIIEogIBAAKCAQEA
yIPGsNf5+a0LnPUMc
nujXXPGiQGyD3b79
KZg3UZ4MjZI525sCy
opv4TJTvTK6e8QIYt
GYTByUdI
id_rsa
id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2Efg4+tGHlAAA== name@client1
authorized_key
ssh-rsa
AAAAB3NzaC1yc2Efg4+t
GHlAAA==name@client1
ssh-rsa
AAAAB3NzaC1yc2Efg4+t
GHlAAA==name@client1
authorized_key
IftheConsoleServerdeviceselectedtobetheserverwillonlyhaveoneclientdevice,thentheauthorized_keys file is simply
acopyofthepublickeyforthatdevice.Ifoneormoredeviceswillbeclientsoftheserver,thenthe authorized_keys file will
containacopyofallofthepublickeys.RSAandDSAkeysmaybefreelymixedintheauthorized_keysle.Forexample,
assumewealreadyhaveoneserver,calledbridge_server,andtwosetsofkeys,forthecontrol_roomandtheplant_entrance:
$ ls /home/user/keys control_room control_room.pub plant_entrance plant_entrance.pub $ cat /home/user/keys/control_room.
pub /home/user/keys/plant_entrance.pub > /home/user/keys/authorized_keys_bridge_server