summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-14 13:44:42 +1000
committerDamien Miller <djm@mindrot.org>2003-05-14 13:44:42 +1000
commit049245d260696b7b2473ed4c0f931cb9ee1ceae5 (patch)
tree3e49af6fbc9f7e895018f63bfc86567b424f8628
parentea5ade28fbc228b0e7cbaba30cee8579edaee845 (diff)
- mouring@cvs.openbsd.org 2003/04/30 01:16:20
[sshd.8 sshd_config.5] Escape ?, * and ! in .Ql for nroff compatibility. OpenSSH Portable Bug #550 and * escaping suggested by jmc@.
-rw-r--r--ChangeLog6
-rw-r--r--sshd.817
-rw-r--r--sshd_config.510
3 files changed, 21 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index bc7eadf7f..47d07d231 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,10 @@
28 - deraadt@cvs.openbsd.org 2003/04/26 04:29:49 28 - deraadt@cvs.openbsd.org 2003/04/26 04:29:49
29 [ssh-keyscan.c] 29 [ssh-keyscan.c]
30 -t in usage(); rogier@quaak.org 30 -t in usage(); rogier@quaak.org
31 - mouring@cvs.openbsd.org 2003/04/30 01:16:20
32 [sshd.8 sshd_config.5]
33 Escape ?, * and ! in .Ql for nroff compatibility. OpenSSH Portable
34 Bug #550 and * escaping suggested by jmc@.
31 35
3220030512 3620030512
33 - (djm) Redhat spec: Don't install profile.d scripts when not 37 - (djm) Redhat spec: Don't install profile.d scripts when not
@@ -1415,4 +1419,4 @@
1415 save auth method before monitor_reset_key_state(); bugzilla bug #284; 1419 save auth method before monitor_reset_key_state(); bugzilla bug #284;
1416 ok provos@ 1420 ok provos@
1417 1421
1418$Id: ChangeLog,v 1.2684 2003/05/14 03:43:53 djm Exp $ 1422$Id: ChangeLog,v 1.2685 2003/05/14 03:44:42 djm Exp $
diff --git a/sshd.8 b/sshd.8
index a99c4f162..1d4e90fb2 100644
--- a/sshd.8
+++ b/sshd.8
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd.8,v 1.194 2003/01/31 21:54:40 jmc Exp $ 37.\" $OpenBSD: sshd.8,v 1.195 2003/04/30 01:16:20 mouring Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
@@ -429,13 +429,14 @@ that option keywords are case-insensitive):
429Specifies that in addition to public key authentication, the canonical name 429Specifies that in addition to public key authentication, the canonical name
430of the remote host must be present in the comma-separated list of 430of the remote host must be present in the comma-separated list of
431patterns 431patterns
432.Pf ( Ql * 432.Pf (
433.Ql \&*
433and 434and
434.Ql ? 435.Ql \&?
435serve as wildcards). 436serve as wildcards).
436The list may also contain 437The list may also contain
437patterns negated by prefixing them with 438patterns negated by prefixing them with
438.Ql ! ; 439.Ql \&! ;
439if the canonical host name matches a negated pattern, the key is not accepted. 440if the canonical host name matches a negated pattern, the key is not accepted.
440The purpose 441The purpose
441of this option is to optionally increase security: public key authentication 442of this option is to optionally increase security: public key authentication
@@ -524,12 +525,16 @@ Each line in these files contains the following fields: hostnames,
524bits, exponent, modulus, comment. 525bits, exponent, modulus, comment.
525The fields are separated by spaces. 526The fields are separated by spaces.
526.Pp 527.Pp
527Hostnames is a comma-separated list of patterns ('*' and '?' act as 528Hostnames is a comma-separated list of patterns (
529.Ql \&*
530and
531.Ql \&?
532act as
528wildcards); each pattern in turn is matched against the canonical host 533wildcards); each pattern in turn is matched against the canonical host
529name (when authenticating a client) or against the user-supplied 534name (when authenticating a client) or against the user-supplied
530name (when authenticating a server). 535name (when authenticating a server).
531A pattern may also be preceded by 536A pattern may also be preceded by
532.Ql ! 537.Ql \&!
533to indicate negation: if the host name matches a negated 538to indicate negation: if the host name matches a negated
534pattern, it is not accepted (by that line) even if it matched another 539pattern, it is not accepted (by that line) even if it matched another
535pattern on the line. 540pattern on the line.
diff --git a/sshd_config.5 b/sshd_config.5
index 6f38a260a..31ef3996d 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd_config.5,v 1.15 2003/03/28 10:11:43 jmc Exp $ 37.\" $OpenBSD: sshd_config.5,v 1.16 2003/04/30 01:16:20 mouring Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD_CONFIG 5 39.Dt SSHD_CONFIG 5
40.Os 40.Os
@@ -72,7 +72,7 @@ If specified, login is allowed only for users whose primary
72group or supplementary group list matches one of the patterns. 72group or supplementary group list matches one of the patterns.
73.Ql \&* 73.Ql \&*
74and 74and
75.Ql ? 75.Ql \&?
76can be used as 76can be used as
77wildcards in the patterns. 77wildcards in the patterns.
78Only group names are valid; a numerical group ID is not recognized. 78Only group names are valid; a numerical group ID is not recognized.
@@ -93,7 +93,7 @@ If specified, login is allowed only for user names that
93match one of the patterns. 93match one of the patterns.
94.Ql \&* 94.Ql \&*
95and 95and
96.Ql ? 96.Ql \&?
97can be used as 97can be used as
98wildcards in the patterns. 98wildcards in the patterns.
99Only user names are valid; a numerical user ID is not recognized. 99Only user names are valid; a numerical user ID is not recognized.
@@ -187,7 +187,7 @@ Login is disallowed for users whose primary group or supplementary
187group list matches one of the patterns. 187group list matches one of the patterns.
188.Ql \&* 188.Ql \&*
189and 189and
190.Ql ? 190.Ql \&?
191can be used as 191can be used as
192wildcards in the patterns. 192wildcards in the patterns.
193Only group names are valid; a numerical group ID is not recognized. 193Only group names are valid; a numerical group ID is not recognized.
@@ -199,7 +199,7 @@ by spaces.
199Login is disallowed for user names that match one of the patterns. 199Login is disallowed for user names that match one of the patterns.
200.Ql \&* 200.Ql \&*
201and 201and
202.Ql ? 202.Ql \&?
203can be used as wildcards in the patterns. 203can be used as wildcards in the patterns.
204Only user names are valid; a numerical user ID is not recognized. 204Only user names are valid; a numerical user ID is not recognized.
205By default, login is allowed for all users. 205By default, login is allowed for all users.