Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Steps to Generate and Use SSH Keys for LDAP Users

...

Generate SSH Key Pair

On a Unix-based System (Linux/macOS):

...

Add the public keys to LDAP

Using CLI

ipa user-mod <USERNAME> --sshpubkey="ssh-rsa <key_content>"
 

# Example for single key
ipa user-mod alice --sshpubkey="$(cat /home/alice/.ssh/id_rsa.pub)" 


# To upload multiple keys, pass a comma-separated list of keys with a single --sshpubkey option:
ipa user-mod alice --sshpubkey="key1==,key2==,key3=="


Using Web UI

  1. Start by connecting to your Remote Desktop with the username assigned to your ldap tenancy. 
  2. Once you're in, launch Firefox and visit the IP of your LDAP server. 
  3. Once you're in the LDAP, You can then click on the user and insert SSH keys


Enable SSH authentication for already provisioned instances:

Go to the Instance → Actions → Run workflow → enable_ssh_authentication

...