'\" t .\" Title: sss_ssh_authorizedkeys .\" Author: The SSSD upstream - http://fedorahosted.org/sssd .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 01/16/2015 .\" Manual: SSSD Manual pages .\" Source: SSSD .\" Language: English .\" .TH "SSS_SSH_AUTHORIZEDKE" "1" "01/16/2015" "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_authorizedkeys \- get OpenSSH authorized keys .SH "SYNOPSIS" .HP \w'\fBsss_ssh_authorizedkeys\fR\ 'u \fBsss_ssh_authorizedkeys\fR [\fIoptions\fR] \fIUSER\fR .SH "DESCRIPTION" .PP \fBsss_ssh_authorizedkeys\fR acquires SSH public keys for user \fIUSER\fR and outputs them in OpenSSH authorized_keys format (see the \(lqAUTHORIZED_KEYS FILE FORMAT\(rq section of \fBsshd\fR(8) for more information)\&. .PP \fBsshd\fR(8) can be configured to use \fBsss_ssh_authorizedkeys\fR for public key user authentication if it is compiled with support for either \(lqAuthorizedKeysCommand\(rq or \(lqPubkeyAgent\(rq\fBsshd_config\fR(5) options\&. .PP If \(lqAuthorizedKeysCommand\(rq is supported, \fBsshd\fR(8) can be configured to use it by putting the following directive in \fBsshd_config\fR(5): .sp .if n \{\ .RS 4 .\} .nf AuthorizedKeysCommand /usr/bin/sss_ssh_authorizedkeys .fi .if n \{\ .RE .\} .PP If \(lqPubkeyAgent\(rq is supported, \fBsshd\fR(8) can be configured to use it by using the following directive for \fBsshd\fR(8) configuration: .sp .if n \{\ .RS 4 .\} .nf PubKeyAgent /usr/bin/sss_ssh_authorizedkeys %u .fi .if n \{\ .RE .\} .sp .SH "OPTIONS" .PP \fB\-d\fR,\fB\-\-domain\fR \fIDOMAIN\fR .RS 4 Search for user public keys in SSSD domain \fIDOMAIN\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-krb5\fR(5), \fBsssd-simple\fR(5), \fBsssd-ipa\fR(5), \fBsssd-ad\fR(5), \fBsssd-sudo\fR(5),\fBsss_cache\fR(8), \fBsss_debuglevel\fR(8), \fBsss_groupadd\fR(8), \fBsss_groupdel\fR(8), \fBsss_groupshow\fR(8), \fBsss_groupmod\fR(8), \fBsss_useradd\fR(8), \fBsss_userdel\fR(8), \fBsss_usermod\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)\&. .SH "AUTHORS" .PP \fBThe SSSD upstream \- http://fedorahosted\&.org/sssd\fR