'\" t .\" Title: sss_ssh_knownhosts .\" Author: El SSSD último - https://github.com/SSSD/sssd/ .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 11/09/2026 .\" Manual: Páginas del manual de SSSD .\" Source: SSSD .\" Language: English .\" .TH "SSS_SSH_KNOWNHOSTS" "1" "11/09/2026" "SSSD" "Páginas del manual de SSSD" .\" ----------------------------------------------------------------- .\" * 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_knownhosts \- obtiene las claves públicas OpenSSH conocidas de los hosts .SH "SYNOPSIS" .HP \w'\fBsss_ssh_knownhosts\fR\ 'u \fBsss_ssh_knownhosts\fR [\fIopciones\fR] \fIHOST\fR .SH "DESCRIPCIÓN" .PP \fBsss_ssh_knownhosts\fR adquiere claves públicas SSH para el host \fIHUÉSPED\fR y las salidas en formato de clave autorizadas know_hosts de OpenSSH (consulte la sección \(lqFORMATO DE ARCHIVO SSH_KNOWN_HOSTS\(rq de \fBsshd\fR(8) para más información)\&. .PP \fBssh\fR(1) puede ser configurado para usar \fBsss_ssh_knownhosts\fR para autenticación de la clave del host usando la opción \(lqKnownHostsCommand\(rq: .sp .if n \{\ .RS 4 .\} .nf KnownHostsCommand /usr/bin/sss_ssh_knownhosts %H .fi .if n \{\ .RE .\} .sp Refuera a la página man \fBssh_config\fR(5) para más detalles sobre esta opción\&. .PP Esta herramienta requiere ese servicio ssh de SSSD esté habilitado para funcionar apropiadamente\&. .SH "OPCIONES" .PP \fB\-d\fR,\fB\-\-domain\fR \fIDOMINIO\fR .RS 4 Busca las claves públicas del host en el dominio SSSD \fIDOMAIN\fR\&. .RE .PP \fB\-o\fR,\fB\-\-only\-host\-name\fR .RS 4 Cuando las claves obtenidas desde el segundo plano no incluyen el nombre del host, esta herramienta añadirá el nombre de host no modificado como proporcionado por el invocante\&. Si este indicador está puesto, solo el nombre de host (no el número del puerto) será añadido a las claves\&. .RE .PP \fB\-?\fR,\fB\-\-help\fR .RS 4 Muestra mensaje de ayuda y sale\&. .RE .SH "OBTENCIÓN DE CLAVE" .PP The key lines retrieved from the backend are expected to respect the key format as described in the \(lqSSH_KNOWN_HOSTS FILE FORMAT\(rq section of \fBsshd\fR(8)\&. However, returning only the keytype and the key itself is tolerated, in which case, the hostname received as parameter will be added before the keytype to output a correctly formatted line\&. The hostname will be added unmodified or just the hostname (no port number), depending on whether the \fB\-o\fR,\fB\-\-only\-host\-name\fR option was provided\&. .PP Cuando el servidor SSH está listado en un puerto no predeterminado, el segundo plano DEBE proporcionar el nombre de host incluyendo el número del puerto en el formato correcto y posición como parte de la línea de clave\&. Por ejemplo, la línea de clave minimal sería: .sp .if n \{\ .RS 4 .\} .nf [canonical\&.host\&.name]:2222 .fi .if n \{\ .RE .\} .sp .SH "ESTADO DE SALIDA" .PP En caso de lograr la ejecución, incluso si no se encontró ninguna clave para ese host o si no se pudo contactar al respondedor ssh, se devuelve 0\&. Se devuelve 1 en caso de cualquier otro error\&. .SH "CONSULTE ADEMÁS" .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-idp\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(1), \fBsss_ssh_knownhosts\fR(1), \fBsssd-ifp\fR(5), \fBpam_sss\fR(8), \fBsss_rpcidmapd\fR(5), \&. .SH "AUTHORS" .PP \fBEl SSSD último \- https://github\&.com/SSSD/sssd/\fR