SSS_SSH_AUTHORIZEDKE(1)
โจ SSS_SSH_AUTHORIZEDKE(1) โจ
okay bestie, so this is a page from the SSSD manual pages (yep, the manual is literally named SSS_SSH_AUTHORIZEDKE(1), cute caps energy, we love her) ๐ซถ and she's all about sss_ssh_authorizedkeys. grab a strawberry, let's go ๐
๐ NAME ๐
sss_ssh_authorizedkeys โ get OpenSSH authorized keys โจ
๐ธ SYNOPSIS ๐ธ
sss_ssh_authorizedkeys [options] USER
๐ฆ DESCRIPTION ๐ฆ
so basically, sss_ssh_authorizedkeys goes and grabs the SSH public keys for the user USER and prints them out in OpenSSH authorized_keys format. like, if you wanna know the exact shape of that format, go peek at the โAUTHORIZED_KEYS FILE FORMATโ section of sshd(8), she explains it way better than I can ๐
and here's the slay part: sshd(8) can be configured to use sss_ssh_authorizedkeys for public key user authentication โ but only if it was compiled with support for the โAuthorizedKeysCommandโ option. wanna know more? sshd_config(5) has you covered, no cap ๐
so if โAuthorizedKeysCommandโ is supported, you can set sshd(8) up to use it by dropping these directives into sshd_config(5):
AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys
AuthorizedKeysCommandUser nobody
๐ KEYS FROM CERTIFICATES ๐
bestie this is the main character section, pay attention ๐
on top of the public SSH keys for user USER, sss_ssh_authorizedkeys can also return public SSH keys that are derived from the public key of a X.509 certificate. yes, really. she's versatile like that ๐ง
to turn this on, the โssh_use_certificate_keysโ option has to be set to true (which is the default, so lowkey it's already on for you) in the [ssh] section of sssd.conf. and then: if the user entry contains certificates (see โldap_user_certificateโ in sssd-ldap(5) for the deets) or there's a certificate sitting in an override entry for the user (see sss_override(8) or sssd-ipa(5) for the deets) and that certificate is valid, SSSD will extract the public key from the certificate and convert it into the format that sshd expects. it's giving โจglow-upโจ
besides โssh_use_certificate_keysโ, these options:
ca_dbp11_child_timeoutcertificate_verification
can be used to control how the certificates get validated (see sssd.conf(5) for the deets, she's got all of it ๐).
and ngl, the validation is literally the whole benefit of using X.509 certificates instead of SSH keys directly, because likeโฆ it gives you better control of the lifetime of the keys. picture this: your ssh client is set up to use the private keys from a Smartcard with the help of a PKCS#11 shared library (see ssh(1) for the deets), and it might be irritating (real) that authentication still works even if the related X.509 certificate on the Smartcard is already expired โ because neither ssh nor sshd will look at the certificate at all. not even a glance. ๐
and it has to be noted (important!!) that the derived public SSH key can still be added to the authorized_keys file of the user to bypass the certificate validation, if the sshd configuration permits this. so like, that escape hatch exists. iykyk ๐
๐ OPTIONS ๐
-d,--domainDOMAIN โ search for user public keys in SSSD domain DOMAIN. ๐-?,--helpโ display the help message and exit. bye bestie, have a nice day โจ
๐ EXIT STATUS ๐
if it goes well, an exit value of 0 is returned. if not, 1 is returned. periodt. ๐ฏ
โญ SEE ALSO โญ
sssd(8), sssd.conf(5), sssd-ldap(5), sssd-ldap-attributes(5), sssd-krb5(5), sssd-simple(5), sssd-ipa(5), sssd-ad(5), sssd-idp(5), sssd-sudo(5), sssd-session-recording(5), sss_cache(8), sss_debuglevel(8), sss_obfuscate(8), sss_seed(8), sssd_krb5_locator_plugin(8), sss_ssh_authorizedkeys(1), sss_ssh_knownhosts(1), sssd-ifp(5), pam_sss(8). sss_rpcidmapd(5) sssd-systemtap(5)
๐ AUTHORS ๐
The SSSD upstream - https://github.com/SSSD/sssd/
and that's the whole page bestie, we ate and left no crumbs ๐๐ SSSD brought this to you on 07/08/2026, mwah, go be iconic ๐ โจ
๐ฆ where this page comes from
- fedora 43: sssd-common 2.12.0-3.fc43 ยท GPL-3.0-or-later
- fedora 44: sssd-common 2.13.1-2.fc44 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms