Cannot retrieve public key from Active Directory in IPA clients with sss_ssh_authorizedkeys

Solution Verified - Updated -

Issue

  1. Set up ssh public key for Active Directory users and store it in attribute altSecurityIdentities in Active Directory.

  2. Public key from Active Directory can not be retrieved in IPA client with sss_ssh_authorizedkeys command:

[root@ipaclient ~]# sss_ssh_authorizedkeys aduser@ad.example.com -d ad.example.com
<<<no pub_ssh key returned>>>

Environment

  • Red Hat Enterprise Linux 8.8
  • IPA with AD trust

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content