'\" t .\" Title: sss_ssh_knownhostsproxy .\" Author: The SSSD upstream - https://github.com/SSSD/sssd/ .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 02/04/2024 .\" Manual: SSSD Manual pages .\" Source: SSSD .\" Language: English .\" .TH "SSS_SSH_KNOWNHOSTSPR" "1" "02/04/2024" "SSSD" "SSSD Manual pages" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" sss_ssh_knownhostsproxy \- get OpenSSH host keys .SH "SYNOPSIS" .HP \w'\fBsss_ssh_knownhostsproxy\fR\ 'u \fBsss_ssh_knownhostsproxy\fR [\fIoptions\fR] \fIHOST\fR [\fIPROXY_COMMAND\fR] .SH "DESCRIPTION" .PP \fBsss_ssh_knownhostsproxy\fR acquires SSH host public keys for host \fIHOST\fR, stores them in a custom OpenSSH known_hosts file (see the \(lqSSH_KNOWN_HOSTS FILE FORMAT\(rq section of \fBsshd\fR(8) for more information) /var/lib/sss/pubconf/known_hosts and establishes the connection to the host\&. .PP If \fIPROXY_COMMAND\fR is specified, it is used to create the connection to the host instead of opening a socket\&. .PP \fBssh\fR(1) can be configured to use \fBsss_ssh_knownhostsproxy\fR for host key authentication by using the following directives for \fBssh\fR(1) configuration: .sp .if n \{\ .RS 4 .\} .nf ProxyCommand /usr/bin/sss_ssh_knownhostsproxy \-p %p %h GlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts .fi .if n \{\ .RE .\} .sp .SH "OPTIONS" .PP \fB\-p\fR,\fB\-\-port\fR \fIPORT\fR .RS 4 Use port \fIPORT\fR to connect to the host\&. By default, port 22 is used\&. .RE .PP \fB\-d\fR,\fB\-\-domain\fR \fIDOMAIN\fR .RS 4 Search for host public keys in SSSD domain \fIDOMAIN\fR\&. .RE .PP \fB\-k\fR,\fB\-\-pubkey\fR .RS 4 Print the host ssh public keys for host \fIHOST\fR\&. .RE .PP \fB\-?\fR,\fB\-\-help\fR .RS 4 Display help message and exit\&. .RE .SH "EXIT STATUS" .PP In case of success, an exit value of 0 is returned\&. Otherwise, 1 is returned\&. .SH "SEE ALSO" .PP \fBsssd\fR(8), \fBsssd.conf\fR(5), \fBsssd-ldap\fR(5), \fBsssd-ldap-attributes\fR(5), \fBsssd-krb5\fR(5), \fBsssd-simple\fR(5), \fBsssd-ipa\fR(5), \fBsssd-ad\fR(5), \fBsssd-files\fR(5), \fBsssd-sudo\fR(5), \fBsssd-session-recording\fR(5), \fBsss_cache\fR(8), \fBsss_debuglevel\fR(8), \fBsss_obfuscate\fR(8), \fBsss_seed\fR(8), \fBsssd_krb5_locator_plugin\fR(8), \fBsss_ssh_authorizedkeys\fR(8), \fBsss_ssh_knownhostsproxy\fR(8), \fBsssd-ifp\fR(5), \fBpam_sss\fR(8)\&. \fBsss_rpcidmapd\fR(5) \fBsssd-systemtap\fR(5) .SH "AUTHORS" .PP \fBThe SSSD upstream \- https://github\&.com/SSSD/sssd/\fR