In our scenario thus far, we have generated key pairs on each collection server and copied the public key portion to the reporting server as the following files:
Step 3 is to concatenate these files, move the resulting RSA public key file to the correct directory, and set directory and file ownership to caelmservice.
To create a combined public key file in the correct directory on the reporting server and set file ownership
cd /opt/CA/LogManager
mkdir .ssh
chown caelmservice:caelmservice .ssh
cat authorized_keys_ELM-C2 >> authorized_keys
cat authorized_keys_ELM-C3 >> authorized_keys
cat authorized_keys_ELM-C4 >> authorized_keys
cp /tmp/authorized_keys .
chown caelmservice:caelmservice authorized_keys
chmod 755 authorized_keys
755 means read and execute access for everyone and read, execute, and write access for the owner of the file
This completes the configuration of password-less authentication between the collection servers and the reporting server.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |