blob: 99d373406d4f491fcede5f971e28e4782058b45e [file] [log] [blame]
Ben Lindstrom2594d9a2002-12-23 02:09:59 +00001.\" $OpenBSD: ssh-keysign.8,v 1.5 2002/11/24 21:46:24 stevesk Exp $
Ben Lindstrom1bad2562002-06-06 19:57:33 +00002.\"
3.\" Copyright (c) 2002 Markus Friedl. All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
25.Dd May 24, 2002
26.Dt SSH-KEYSIGN 8
27.Os
28.Sh NAME
29.Nm ssh-keysign
30.Nd ssh helper program for hostbased authentication
31.Sh SYNOPSIS
Ben Lindstrom11d470d2002-06-11 15:50:13 +000032.Nm
Ben Lindstrom1bad2562002-06-06 19:57:33 +000033.Sh DESCRIPTION
34.Nm
35is used by
36.Xr ssh 1
Ben Lindstrom11d470d2002-06-11 15:50:13 +000037to access the local host keys and generate the digital signature
38required during hostbased authentication with SSH protocol version 2.
Ben Lindstrom5d35a2f2002-07-04 00:19:40 +000039.Pp
40.Nm
41is disabled by default and can only be enabled in the
Ben Lindstrom2594d9a2002-12-23 02:09:59 +000042global client configuration file
Ben Lindstrom5d35a2f2002-07-04 00:19:40 +000043.Pa /etc/ssh/ssh_config
44by setting
Ben Lindstromb6df73b2002-11-09 15:52:31 +000045.Cm EnableSSHKeysign
Ben Lindstrom5d35a2f2002-07-04 00:19:40 +000046to
47.Dq yes .
48.Pp
Ben Lindstrom1bad2562002-06-06 19:57:33 +000049.Nm
50is not intended to be invoked by the user, but from
51.Xr ssh 1 .
52See
53.Xr ssh 1
54and
55.Xr sshd 8
56for more information about hostbased authentication.
Ben Lindstrom11d470d2002-06-11 15:50:13 +000057.Sh FILES
58.Bl -tag -width Ds
Ben Lindstrom5d35a2f2002-07-04 00:19:40 +000059.It Pa /etc/ssh/ssh_config
60Controls whether
61.Nm
62is enabled.
Ben Lindstrom11d470d2002-06-11 15:50:13 +000063.It Pa /etc/ssh/ssh_host_dsa_key, /etc/ssh/ssh_host_rsa_key
64These files contain the private parts of the host keys used to
65generate the digital signature. They
66should be owned by root, readable only by root, and not
67accessible to others.
68Since they are readable only by root,
69.Nm
70must be set-uid root if hostbased authentication is used.
71.El
Ben Lindstrom1bad2562002-06-06 19:57:33 +000072.Sh SEE ALSO
73.Xr ssh 1 ,
Ben Lindstrom11d470d2002-06-11 15:50:13 +000074.Xr ssh-keygen 1 ,
Ben Lindstrom5d35a2f2002-07-04 00:19:40 +000075.Xr ssh_config 5 ,
Ben Lindstrom1bad2562002-06-06 19:57:33 +000076.Xr sshd 8
77.Sh AUTHORS
78Markus Friedl <markus@openbsd.org>
79.Sh HISTORY
80.Nm
81first appeared in
82.Ox 3.2 .