Follow the steps below to enable SSH key based access to VRLI appliance
- Generate the public and private SSH keys from the connecting machine.
- Log into the Primary node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- Open the /root/.ssh/authorized_keys file in a text editor.
- Paste the generate public SSH key then save and close the file.
- Repeat steps 1-4 on all other nodes in the vRealize Log Insight Cluster.
- Ensure that you can SSH to the vRealize Log Insight appliance via key based access.
The SSH key based access is expected to partly break after vRealize Log Insight upgrade due to remote host identification change.
To restore access:
- From the connecting machine, remove the old key's fingerprint by running:
ssh-keygen -f "/path-to-.ssh-directory/known_hosts" -R "vrli_ip_or_fqdn"
Note: Repeat this command for each node in the vRealize Log Insight Cluster.
- SSH to the vRealize Log Insight appliance and add it to the known hosts file when prompted.