Merge from vendor branch NTPD:
[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.1 2004/07/31 20:05:00 geekgod Exp $
2 --- sshd.8.orig 2004-07-23 14:26:51.000000000 +0200
3 +++ sshd.8      2004-07-23 14:20:00.000000000 +0200
4 @@ -67,7 +67,7 @@
5  .Nm
6  is the daemon that 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 @@ -253,8 +253,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 @@ -365,8 +363,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 @@ -388,11 +387,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  .It
47  Runs user's shell or command.
48  .El
49 @@ -596,15 +596,15 @@
50  .Nm sshd .
51  The file format and configuration options are described in
52  .Xr sshd_config 5 .
53 -.It Pa /etc/ssh/ssh_host_key, /etc/ssh/ssh_host_dsa_key, /etc/ssh/ssh_host_rsa_key
54 -These three files contain the private parts of the host keys.
55 +.It Pa /etc/ssh/ssh_host_key, /etc/ssh/ssh_host_dsa_key
56 +These two files contain the private parts of the host keys.
57  These files should only be owned by root, readable only by root, and not
58  accessible to others.
59  Note that
60  .Nm
61  does not start if this file is group/world-accessible.
62 -.It Pa /etc/ssh/ssh_host_key.pub, /etc/ssh/ssh_host_dsa_key.pub, /etc/ssh/ssh_host_rsa_key.pub
63 -These three files contain the public parts of the host keys.
64 +.It Pa /etc/ssh/ssh_host_key.pub, /etc/ssh/ssh_host_dsa_key.pub
65 +These two files contain the public parts of the host keys.
66  These files should be world-readable but writable only by
67  root.
68  Their contents should match the respective private parts.
69 @@ -613,7 +613,7 @@
70  the user so their contents can be copied to known hosts files.
71  These files are created using
72  .Xr ssh-keygen 1 .
73 -.It Pa /etc/moduli
74 +.It Pa /etc/ssh/moduli
75  Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange".
76  The file format is described in
77  .Xr moduli 5 .
78 @@ -725,7 +725,7 @@
79  of is in negative entries.
80  .Pp
81  Note that this warning also applies to rsh/rlogin.
82 -.It Pa /etc/shosts.equiv
83 +.It Pa /etc/ssh/shosts.equiv
84  This is processed exactly as
85  .Pa /etc/hosts.equiv .
86  However, this file may be useful in environments that want to run both