Before you can connect to the host machines, you must configure user authentication. Optionally, you can create a new user.
If you don't want to create a new user, you can use the default user configured in the hosts file.
When you configure user authentication, you can either configure passwordless authentication for the SSH user or use a password to connect to the host machines.
The sshpass
module must be installed on the RHEL host machine if you're
authenticating using a password.
Creating a new user
If you do not have a user as mentioned in the PingIntelligence automated deployment preparation section, complete the following steps on all the provisioned host machines.
If you already have a user as described in Creating a new SSH user and configuring user authentication, start with Copying the PingIntelligence license.
Setting up passwordless authentication
You can set up passwordless authentication from the management machine to other machines where PingIntelligence components are installed.
Setting up authentication using a password
Ensure that:
- You've installed
sshpass
module on the management host machine.Note:The management host machine is a RHEL 7.6 machine.
- The password that you configure for the user in the hosts file must already be configured on the host machines.
You can also use password to authenticate with PingIntelligence and MongoDB host machines.
Configure the password of the host machine in the hosts file.
Verifying SSH connectivity
- Manually verify SSH connectivity between the management machine and the host machine by running the ssh user@remote-machine "ls" command.
To continue your configuration, see Copying the PingIntelligence license.