Chapter 7. Monitoring1547.2.4. Installing the SSH keyWhether you use rhnmd or sshd, you must install the Red Hat Network Monitoring Daemon publicSSH key on the systems to be monitored to complete the secure connection. To install it:1. Navigate to the Monitoring Scout Config Push page on the Satellite interface and click thename of the RHN Server that will monitor the client system. The SSH id_dsa.pub key is visible onthe resulting page.2. Copy the character string (beginning with ssh-dss and ending with the hostname of the RHNServer).3. On the command line of the system to be monitored, switch to the user aligned with the daemon.This is accomplished for rhnmd with the command:su - nocpulse4. Paste the key character string into the ~/.ssh/authorized_keys file for the daemon's user. Forrhnmd, this is /opt/nocpulse/.ssh/authorized_keys.If config management is enabled on the systems to be monitored, you may deploy this fileacross systems using a config channel. Refer to Section 6.7.1, “Preparing Systems for ConfigManagement” for details.NoteIf valid entries already exist in authorized_keys, add the daemon key tothe file rather than replacing the existing key. To do so, save the copied text toid_dsa.pub in the same .ssh/ directory and then run the following command:cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys.5. Finally, ensure the .ssh/ directory and authorized_keys file have the appropriate permissionsset. This can be done as the daemon's user with the following commands:chmod 700 ~/.sshchmod 600 ~/.ssh/authorized_keysOnce the key is in place and accessible, all probes that require it should allow ssh connectionsbetween the Monitoring infrastructure and the monitored system. You may then schedule probesrequiring the monitoring daemon to run against the newly configured systems.7.3. mysql-server packageIf your RHN Satellite Server will serve Monitoring-entitled client systems against which you wish to runMySQL probes, you must configure the mysql-server package on the RHN Satellite Server. Referto Appendix C, Probes for a listing of all available probes.Subscribe the Satellite to the Red Hat Enterprise Linux AS Extras channel and install the mysql-server package either through the RHN website or via up2date.