If you forget the password of the root user, you can no longer establish SSH connections or use the console of the vRealize Log Insight virtual appliance.
- You have not changed the default password. By default, vRealize Log Insight sets a blank password for the root user and disables SSH access. Once the password is set, SSH access for the root user is enabled.
- You set an SSH key during the deployment of the vRealize Log Insight virtual appliance. If an SSH key is specified through OVF, then password authentication is disabled. Either log in with the set SSH key or see the solution steps below.
- You entered the password incorrectly multiple times and you are now temporarily locked out. In this case, entering the correct password will not get you in until the lock out period has elapsed. You can either wait or restart the virtual appliance.
- In the vSphere Client, perform a guest shutdown of the vRealize Log Insight virtual appliance.
- After the virtual machine is powered down, select Edit Settings.
- Select the Options tab.
- Under vApp Options > Advanced, select Properties.
- Find and edit the vm.rootpw key.
If you do not see a vm.rootpw key then add a new one.
If you are using SSH keys instead of password authentication, then edit or add the vm.sshkey key.
- Enter a password.
You can add an SSH key here instead if you are not using password authentication.
- Power on the virtual appliance.
What to do next
After vRealize Log Insight boots, validate that you can log in as the root user.