6.2.3. Installing the SSH key
sshd, you must install the Red Hat Network monitoring daemon public SSH key on the systems to be monitored to complete the secure connection. To install it:
- Copy the character string (beginning with ssh-dss and ending with the hostname of the Satellite).
- Select Systems from the left menu, and click the checkbox next to the systems you want to send the SSH key to. Click the button at the top to finish.
- From the System Set Manager, click Run remote commands, then in the Script text box, type the following line:
#!/bin/sh cat <<EOF >> ~nocpulse/.ssh/authorized_keysThen, press Enter, paste the SSH Key and add EOF. The result should look similar to the following:
#!/bin/sh cat <<EOF>> ~nocpulse/.ssh/authorized_keys ssh-dss AABBAB3NzaC3kc3MABCCBAJ4cmyf5jt/ihdtFbNE1YHsT0np0SYJz7xk hzoKUUWnZmOUqJ7eXoTbGEcZjZLppOZgzAepw1vUHXfa/L9XiXvsV8K5Qmcu70h0 1gohBIder/1I1QbHMCgfDVFPtfV5eedau4AAACAc99dHbWhk/dMPiWXgHxdI0vT2 SnuozIox2klmfbTeO4Ajn/Ecfxqgs5diat/NIaeoItuGUYepXFoVv8DVL3wpp45E 02hjmp4j2MYNpc6Pc3nPOVntu6YBv+whB0VrsVzeqX89u23FFjTLGbfYrmMQflNi j8yynGRePIMFhI= firstname.lastname@example.org EOF
- Set the date and time you want for the action to take place, then click.
sshconnections between the monitoring infrastructure and the monitored system. You may then schedule probes requiring the monitoring daemon to run against the newly configured systems.