2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH SSH-KEYSIGN 1M "Jun 9, 2004"
8 ssh-keysign \- ssh helper program for host-based authentication
18 \fBssh-keysign\fR is used by \fBssh\fR(1) to access the local host keys and
19 generate the digital signature required during host-based authentication with
20 SSH protocol version 2. This signature is of data that includes, among other
21 items, the name of the client host and the name of the client user.
24 \fBssh-keysign\fR is disabled by default and can be enabled only in the global
25 client configuration file \fB/etc/ssh/ssh_config\fR by setting
26 \fBHostbasedAuthentication\fR to \fByes\fR.
29 \fBssh-keysign\fR is not intended to be invoked by the user, but from
30 \fBssh\fR. See \fBssh\fR(1) and \fBsshd\fR(1M) for more information about
31 host-based authentication.
36 \fB\fB/etc/ssh/ssh_config\fR\fR
39 Controls whether \fBssh-keysign\fR is enabled.
45 \fB\fB/etc/ssh/ssh_host_dsa_key\fR\fR
49 \fB\fB/etc/ssh/ssh_host_rsa_key\fR\fR
52 These files contain the private parts of the host keys used to generate the
53 digital signature. They should be owned by root, readable only by root, and not
54 accessible to others. Because they are readable only by root, \fBssh-keysign\fR
55 must be \fBset-uid\fR root if host-based authentication is used.
61 ssh-keysign will not sign host-based authentication data under the following
67 If the \fBHostbasedAuthentication\fR client configuration parameter is not set
68 to \fByes\fR in \fB/etc/ssh/ssh_config\fR. This setting cannot be overriden in
69 users' \fB~/.ssh/ssh_config\fR files.
75 If the client hostname and username in \fB/etc/ssh/ssh_config\fR do not match
76 the canonical hostname of the client where \fBssh-keysign\fR is invoked and the
77 name of the user invoking \fBssh-keysign\fR.
81 In spite of \fBssh-keysign\fR's restrictions on the contents of the host-based
82 authentication data, there remains the ability of users to use it as an avenue
83 for obtaining the client's private host keys. For this reason host-based
84 authentication is turned off by default.
88 See \fBattributes\fR(5) for descriptions of the following attributes:
96 ATTRIBUTE TYPE ATTRIBUTE VALUE
98 Interface Stability Evolving
104 \fBssh\fR(1), \fBsshd\fR(1M), \fBssh_config\fR(4), \fBattributes\fR(5)
108 Markus Friedl, \fBmarkus@openbsd.org\fR
112 \fBssh-keysign\fR first appeared in Ox 3.2.