Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / secure / usr.sbin / sshd / sshd.8.no_obj.patch
1 $DragonFly: src/secure/usr.sbin/sshd/Attic/sshd.8.no_obj.patch,v 1.2 2006/09/28 18:42:50 corecode Exp $
2 --- sshd.8      2006-08-30 03:07:01.000000000 +0200
3 +++ sshd.8      2006-09-28 20:06:19.000000000 +0200
4 @@ -65,7 +65,7 @@
5  .Nm
6  listens for connections from clients.
7  It is normally started at boot from
8 -.Pa /etc/rc .
9 +.Pa /etc/rc.d/sshd .
10  It forks a new
11  daemon for each incoming connection.
12  The forked daemons handle
13 @@ -138,8 +138,6 @@
14  The default is
15  .Pa /etc/ssh/ssh_host_key
16  for protocol version 1, and
17 -.Pa /etc/ssh/ssh_host_rsa_key
18 -and
19  .Pa /etc/ssh/ssh_host_dsa_key
20  for protocol version 2.
21  It is possible to have multiple host key files for
22 @@ -342,8 +340,9 @@
23  If the login is on a tty, records login time.
24  .It
25  Checks
26 -.Pa /etc/nologin ;
27 -if it exists, prints contents and quits
28 +.Pa /etc/nologin and
29 +.Pa /var/run/nologin ;
30 +if one exists, it prints the contents and quits
31  (unless root).
32  .It
33  Changes to run with normal user privileges.
34 @@ -365,11 +364,12 @@
35  exists, runs it; else if
36  .Pa /etc/ssh/sshrc
37  exists, runs
38 -it; otherwise runs xauth.
39 +it; otherwise runs
40 +.Xr xauth 1 .
41  The
42  .Dq rc
43  files are given the X11
44 -authentication protocol and cookie in standard input.
45 +authentication protocol and cookie (if applicable) in standard input.
46  See
47  .Sx SSHRC ,
48  below.
49 @@ -734,7 +734,7 @@
50  .Xr ssh 1 ) .
51  It should only be writable by root.
52  .Pp
53 -.It /etc/moduli
54 +.It /etc/ssh/moduli
55  Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange".
56  The file format is described in
57  .Xr moduli 5 .
58 @@ -752,7 +752,7 @@
59  refused.
60  The file should be world-readable.
61  .Pp
62 -.It /etc/shosts.equiv
63 +.It /etc/ssh/shosts.equiv
64  This file is used in exactly the same way as
65  .Pa hosts.equiv ,
66  but allows host-based authentication without permitting login with
67 @@ -769,8 +769,7 @@
68  .Pp
69  .It /etc/ssh/ssh_host_key
70  .It /etc/ssh/ssh_host_dsa_key
71 -.It /etc/ssh/ssh_host_rsa_key
72 -These three files contain the private parts of the host keys.
73 +These two files contain the private parts of the host keys.
74  These files should only be owned by root, readable only by root, and not
75  accessible to others.
76  Note that
77 @@ -779,8 +778,7 @@
78  .Pp
79  .It /etc/ssh/ssh_host_key.pub
80  .It /etc/ssh/ssh_host_dsa_key.pub
81 -.It /etc/ssh/ssh_host_rsa_key.pub
82 -These three files contain the public parts of the host keys.
83 +These two files contain the public parts of the host keys.
84  These files should be world-readable but writable only by
85  root.
86  Their contents should match the respective private parts.