SSSD Manual pages

Table of Contents

sss_ssh_knownhostsproxy — get OpenSSH host keys


sss_ssh_knownhostsproxy — get OpenSSH host keys


sss_ssh_knownhostsproxy [ options ] HOST [PROXY_COMMAND]


sss_ssh_knownhostsproxy acquires SSH host public keys for host HOST, stores them in a custom OpenSSH known_hosts file (see the SSH_KNOWN_HOSTS FILE FORMAT section of sshd(8) for more information) and estabilishes connection to the host.

If PROXY_COMMAND is specified, it is used to create the connection to the host instead of opening a socket.

ssh(1) can be configured to use sss_ssh_knownhostsproxy for host key authentication by using the following directives for ssh(1) configuration:

ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h
UserKnownHostsFile2 .ssh/sss_known_hosts

This is an experimental feature, please use to report any issues.


-f,--file FILE

Store host public keys in file FILE. By default, .ssh/sss_known_hosts is used.

-p,--port PORT

Use port PORT to connect to the host. By default, port 22 is used.

-d,--domain DOMAIN

Search for host public keys in SSSD domain DOMAIN.


Display help message and exit.


ssh(8), ssh_config(5), sss_ssh_authorizedkeys(1).