Reference Guide
...
Cloud PAM
Importing Devices from Microso...

SSH Key Configurations for Azure Devices

3min

If the devices imported from Azure have the required configuration to log in via SSH key, Single Connect can provide a seamless connection using the SSH key. Otherwise, the global username and password need to be defined for each device group.

To use an SSH key for Azure devices:

Get the SSH key name stored in the device properties of each device:

  1. Navigate to Device Management > Device Inventory.
  2. Right-click an Azure Device, and select Show Properties (The device SSH Key name is stored in the sshKeyName property)
  3. Write down the value of this property to be used for the SAPM module.
SSH Key Name
SSH Key Name


Enable SSH Key Connection in Device Groups:

  1. Navigate to Device Management > Device Groups.
  2. Right-click the Device Group to which Azure devices are imported to, and select Show Properties.
  3. Select the addDeviceSshKeyToUserSelection property and set the value as true.

Upload the SSH key to Single Connect and enable connection to the device:

  1. Navigate to SAPM > SAPM Accounts.
  2. Fill in the required fields (The Name field must be exactly equal to the value of sshKeyName in the Device Property)
  3. Select SSH Key as the Type.
  4. Copy the contents of the SSH key into the Secret Data field.
SSH Key in the Secret Data Vault
SSH Key in the Secret Data Vault


The SSH keys must be in OpenSSH key format, meaning the value put into the Secret Data field should: start with the “---- BEGIN SSH2 PUBLIC KEY ----” and end with the “---- END SSH2 PUBLIC KEY ----” indicators.