Damien Miller | bf836e5 | 2013-07-18 16:14:13 +1000 | [diff] [blame] | 1 | .\" $OpenBSD: ssh-keysign.8,v 1.13 2013/07/16 00:07:52 schwarze Exp $ |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 2 | .\" |
| 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 | .\" |
Damien Miller | bf836e5 | 2013-07-18 16:14:13 +1000 | [diff] [blame] | 25 | .Dd $Mdocdate: July 16 2013 $ |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 26 | .Dt SSH-KEYSIGN 8 |
| 27 | .Os |
| 28 | .Sh NAME |
| 29 | .Nm ssh-keysign |
Damien Miller | 1faa713 | 2006-03-15 11:55:31 +1100 | [diff] [blame] | 30 | .Nd ssh helper program for host-based authentication |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 31 | .Sh SYNOPSIS |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 32 | .Nm |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 33 | .Sh DESCRIPTION |
| 34 | .Nm |
| 35 | is used by |
| 36 | .Xr ssh 1 |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 37 | to access the local host keys and generate the digital signature |
Damien Miller | 1faa713 | 2006-03-15 11:55:31 +1100 | [diff] [blame] | 38 | required during host-based authentication with SSH protocol version 2. |
Ben Lindstrom | 5d35a2f | 2002-07-04 00:19:40 +0000 | [diff] [blame] | 39 | .Pp |
| 40 | .Nm |
| 41 | is disabled by default and can only be enabled in the |
Ben Lindstrom | 2594d9a | 2002-12-23 02:09:59 +0000 | [diff] [blame] | 42 | global client configuration file |
Ben Lindstrom | 5d35a2f | 2002-07-04 00:19:40 +0000 | [diff] [blame] | 43 | .Pa /etc/ssh/ssh_config |
| 44 | by setting |
Ben Lindstrom | b6df73b | 2002-11-09 15:52:31 +0000 | [diff] [blame] | 45 | .Cm EnableSSHKeysign |
Ben Lindstrom | 5d35a2f | 2002-07-04 00:19:40 +0000 | [diff] [blame] | 46 | to |
| 47 | .Dq yes . |
| 48 | .Pp |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 49 | .Nm |
| 50 | is not intended to be invoked by the user, but from |
| 51 | .Xr ssh 1 . |
| 52 | See |
| 53 | .Xr ssh 1 |
| 54 | and |
| 55 | .Xr sshd 8 |
Damien Miller | 1faa713 | 2006-03-15 11:55:31 +1100 | [diff] [blame] | 56 | for more information about host-based authentication. |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 57 | .Sh FILES |
Damien Miller | afdae61 | 2010-08-31 22:31:14 +1000 | [diff] [blame] | 58 | .Bl -tag -width Ds -compact |
Ben Lindstrom | 5d35a2f | 2002-07-04 00:19:40 +0000 | [diff] [blame] | 59 | .It Pa /etc/ssh/ssh_config |
| 60 | Controls whether |
| 61 | .Nm |
| 62 | is enabled. |
Damien Miller | afdae61 | 2010-08-31 22:31:14 +1000 | [diff] [blame] | 63 | .Pp |
| 64 | .It Pa /etc/ssh/ssh_host_dsa_key |
Damien Miller | eb8b60e | 2010-08-31 22:41:14 +1000 | [diff] [blame] | 65 | .It Pa /etc/ssh/ssh_host_ecdsa_key |
Damien Miller | afdae61 | 2010-08-31 22:31:14 +1000 | [diff] [blame] | 66 | .It Pa /etc/ssh/ssh_host_rsa_key |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 67 | These files contain the private parts of the host keys used to |
Damien Miller | 495dca3 | 2003-04-01 21:42:14 +1000 | [diff] [blame] | 68 | generate the digital signature. |
| 69 | They should be owned by root, readable only by root, and not |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 70 | accessible to others. |
| 71 | Since they are readable only by root, |
| 72 | .Nm |
Damien Miller | 1faa713 | 2006-03-15 11:55:31 +1100 | [diff] [blame] | 73 | must be set-uid root if host-based authentication is used. |
Damien Miller | afdae61 | 2010-08-31 22:31:14 +1000 | [diff] [blame] | 74 | .Pp |
| 75 | .It Pa /etc/ssh/ssh_host_dsa_key-cert.pub |
Damien Miller | eb8b60e | 2010-08-31 22:41:14 +1000 | [diff] [blame] | 76 | .It Pa /etc/ssh/ssh_host_ecdsa_key-cert.pub |
Damien Miller | afdae61 | 2010-08-31 22:31:14 +1000 | [diff] [blame] | 77 | .It Pa /etc/ssh/ssh_host_rsa_key-cert.pub |
Damien Miller | c158331 | 2010-08-05 13:04:50 +1000 | [diff] [blame] | 78 | If these files exist they are assumed to contain public certificate |
| 79 | information corresponding with the private keys above. |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 80 | .El |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 81 | .Sh SEE ALSO |
| 82 | .Xr ssh 1 , |
Ben Lindstrom | 11d470d | 2002-06-11 15:50:13 +0000 | [diff] [blame] | 83 | .Xr ssh-keygen 1 , |
Ben Lindstrom | 5d35a2f | 2002-07-04 00:19:40 +0000 | [diff] [blame] | 84 | .Xr ssh_config 5 , |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 85 | .Xr sshd 8 |
Ben Lindstrom | 1bad256 | 2002-06-06 19:57:33 +0000 | [diff] [blame] | 86 | .Sh HISTORY |
| 87 | .Nm |
| 88 | first appeared in |
| 89 | .Ox 3.2 . |
Damien Miller | f1ce505 | 2003-06-11 22:04:39 +1000 | [diff] [blame] | 90 | .Sh AUTHORS |
Damien Miller | bf836e5 | 2013-07-18 16:14:13 +1000 | [diff] [blame] | 91 | .An Markus Friedl Aq Mt markus@openbsd.org |