sss_ssh_knownhostsproxy(1)

sss_ssh_knownhostsproxy1

Get openssh host keys

Usage

sss_ssh_knownhostsproxy [options] HOST [PROXY_COMMAND]

Overview

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) /var/lib/sss/pubconf/known_hosts and establishes the 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
GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts

Options

-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.

-k,--pubkey

Print the host ssh public keys for host HOST.

-?,--help

Display help message and exit.

Exit status

In case of success, an exit value of 0 is returned. Otherwise, 1 is returned.

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12

--pubkey since Debian 11 (Bullseye); -? since Debian 8 (Jessie); -k since Debian 10 (Buster).

--pubkeys until Debian 10 (Buster); -h until Debian 7 (Wheezy).

Authors

The SSSD upstream - https://github.com/SSSD/sssd/

From sssd-common 2.8.2-4+deb12u1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.