---
title: Setting up passwordless authentication
description: You can set up passwordless authentication from the management machine to other machines where PingIntelligence components are installed.
component: pingintelligence
version: 5.2
page_id: pingintelligence:installing_pingintelligence_for_apis:pingintelligence_setting_up_passwordless_authentication
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/installing_pingintelligence_for_apis/pingintelligence_setting_up_passwordless_authentication.html
revdate: May 6, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  result: Result:
  choose-from: Choose from:
---

# 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

1. 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`.

2. Accept all the default options. Make sure that you do not set the password for the key.

3. You have two options for configuring passwordless authentication:

   ### Choose from:

   * Run the `ssh-copy-id` command 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-keys` manually:

     1. Fetch the generated key in step 1 from `/home/$USER/.ssh/id_rsa.pub`.

     2. Copy the key and add it to the `/home/$USER/.ssh/authrorized_keys` file on all the host machines where PingIntelligence components are installed.

        |   |                                                                                                 |
        | - | ----------------------------------------------------------------------------------------------- |
        |   | If configuring passwordless authentication does not succeed, contact your system administrator. |
