Setting up passwordless authentication
About this task
You can set up passwordless authentication from the management machine to other machines where PingIntelligence components are installed.
Steps
-
On the management machine, run the following command.
The management machine is the machine from which the automated deployment script is run to deploy the various PingIntelligence software.
# ssh-keygen -t rsa
Result:
This command generates the
ssh-keys. -
Accept all the default options. Make sure that you do not set the password for the key.
-
You have two options for configuring passwordless authentication:
Choose from:
-
Run the
ssh-copy-idcommand for each host machine but not the management machine:# ssh-copy-id pi-user@<ping-machine IPv4 address>
For example (ping-ase):
ssh-copy-id pi-user@192.168.11.148
-
Copy and add the
ssh-keysmanually:-
Fetch the generated key in step 1 from
/home/$USER/.ssh/id_rsa.pub. -
Copy the key and add it to the
/home/$USER/.ssh/authrorized_keysfile on all the host machines where PingIntelligence components are installed.If configuring passwordless authentication does not succeed, contact your system administrator.
-
-