SSS_SSH_KNOWNHOSTSPR(1)
π SSS_SSH_KNOWNHOSTSPR π
okay bestie, welcome to sss_ssh_knownhostsproxy(1) β yes that's the manual name, and yes it's a mouthful, we're getting through it together π«Ά
β¨ NAME β¨
sss_ssh_knownhostsproxy β literally just here to get you your OpenSSH host keys, no cap π
πΈ SYNOPSIS πΈ
sss_ssh_knownhostsproxy [options] HOST [PROXY_COMMAND]
π¦ DESCRIPTION π¦
so. sss_ssh_knownhostsproxy goes out and acquires SSH host public keys for the host HOST π it then stores them in a custom OpenSSH known_hosts file β that file lives at /var/lib/sss/pubconf/known_hosts, and if you wanna know more about the format, peek the βSSH_KNOWN_HOSTS FILE FORMATβ section of sshd(8), iykyk. then it establishes the connection to the host. iconic behavior, honestly π
if PROXY_COMMAND is specified, it's used to create the connection to the host instead of opening a socket. yeah. that's the whole vibe. β¨
now, here's the slay part: ssh(1) can be configured to use sss_ssh_knownhostsproxy for host key authentication by using these directives in your ssh(1) configuration:
ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h
GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts
copy them exactly, don't freestyle, fr fr π
π OPTIONS π
-p,--portPORT β use port PORT to connect to the host. by default, port22is used. the default is Right There, don't touch it π-d,--domainDOMAIN β search for host public keys in the SSSD domain DOMAIN. main character domain energy π-k,--pubkeyβ print the host ssh public keys for hostHOST. just print them. no connecting, just vibes π-?,--helpβ display the help message and exit. the "help me help you" option π
π EXIT STATUS π
in case of success, an exit value of 0 is returned. otherwise, 1 is returned. that's it. zero or one. no in-between, 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-files(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(8), sss_ssh_knownhostsproxy(8), sssd-ifp(5), pam_sss(8). sss_rpcidmapd(5) sssd-systemtap(5) β yes, the whole friend group came out, we love a full squad π§
π AUTHORS π
The SSSD upstream - https://github.com/SSSD/sssd/ π
and that's the page, bestie!! this one's from the SSSD manual pages, version dated 07/08/2026, filed under SSS_SSH_KNOWNHOSTSPR(1) β go forth and auth those host keys, you got this π
β¨πΈ
π¦ where this page comes from
- centos-stream 9: sssd-common 2.9.9-3.el9 Β· GPLv3+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms