- jmc@cvs.openbsd.org 2006/02/26 17:17:18
[ssh_config.5] move PATTERNS to the end of the main body; requested by dtucker
This commit is contained in:
parent
ac73e51390
commit
b5282c2f06
|
@ -186,6 +186,9 @@
|
||||||
[sshd_config.5]
|
[sshd_config.5]
|
||||||
document the order in which allow/deny directives are processed;
|
document the order in which allow/deny directives are processed;
|
||||||
help/ok dtucker
|
help/ok dtucker
|
||||||
|
- jmc@cvs.openbsd.org 2006/02/26 17:17:18
|
||||||
|
[ssh_config.5]
|
||||||
|
move PATTERNS to the end of the main body; requested by dtucker
|
||||||
|
|
||||||
20060313
|
20060313
|
||||||
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
|
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
|
||||||
|
@ -4087,4 +4090,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4193 2006/03/15 00:58:49 djm Exp $
|
$Id: ChangeLog,v 1.4194 2006/03/15 00:59:08 djm Exp $
|
||||||
|
|
72
ssh_config.5
72
ssh_config.5
|
@ -34,7 +34,7 @@
|
||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: ssh_config.5,v 1.85 2006/02/25 12:26:17 jmc Exp $
|
.\" $OpenBSD: ssh_config.5,v 1.86 2006/02/26 17:17:18 jmc Exp $
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSH_CONFIG 5
|
.Dt SSH_CONFIG 5
|
||||||
.Os
|
.Os
|
||||||
|
@ -73,42 +73,7 @@ The matched host name is the one given on the command line.
|
||||||
Since the first obtained value for each parameter is used, more
|
Since the first obtained value for each parameter is used, more
|
||||||
host-specific declarations should be given near the beginning of the
|
host-specific declarations should be given near the beginning of the
|
||||||
file, and general defaults at the end.
|
file, and general defaults at the end.
|
||||||
.Sh PATTERNS
|
|
||||||
A
|
|
||||||
.Em pattern
|
|
||||||
consists of zero or more non-whitespace characters,
|
|
||||||
.Sq *
|
|
||||||
(a wildcard that matches zero or more characters),
|
|
||||||
or
|
|
||||||
.Sq ?\&
|
|
||||||
(a wildcard that matches exactly one character).
|
|
||||||
For example, to specify a set of declarations for any host in the
|
|
||||||
.Dq .co.uk
|
|
||||||
set of domains,
|
|
||||||
the following pattern could be used:
|
|
||||||
.Pp
|
.Pp
|
||||||
.Dl Host *.co.uk
|
|
||||||
.Pp
|
|
||||||
The following pattern
|
|
||||||
would match any host in the 192.168.0.[0-9] network range:
|
|
||||||
.Pp
|
|
||||||
.Dl Host 192.168.0.?
|
|
||||||
.Pp
|
|
||||||
A
|
|
||||||
.Em pattern-list
|
|
||||||
is a comma-separated list of patterns.
|
|
||||||
Patterns within pattern-lists may be negated
|
|
||||||
by preceding them with an exclamation mark
|
|
||||||
.Pq Sq !\& .
|
|
||||||
For example,
|
|
||||||
to allow a key to be used from anywhere within an organisation
|
|
||||||
except from the
|
|
||||||
.Dq dialup
|
|
||||||
pool,
|
|
||||||
the following entry (in authorized_keys) could be used:
|
|
||||||
.Pp
|
|
||||||
.Dl from=\&"!*.dialup.example.com,*.example.com\&"
|
|
||||||
.Sh FILE FORMAT
|
|
||||||
The configuration file has the following format:
|
The configuration file has the following format:
|
||||||
.Pp
|
.Pp
|
||||||
Empty lines and lines starting with
|
Empty lines and lines starting with
|
||||||
|
@ -1023,6 +988,41 @@ program.
|
||||||
The default is
|
The default is
|
||||||
.Pa /usr/X11R6/bin/xauth .
|
.Pa /usr/X11R6/bin/xauth .
|
||||||
.El
|
.El
|
||||||
|
.Sh PATTERNS
|
||||||
|
A
|
||||||
|
.Em pattern
|
||||||
|
consists of zero or more non-whitespace characters,
|
||||||
|
.Sq *
|
||||||
|
(a wildcard that matches zero or more characters),
|
||||||
|
or
|
||||||
|
.Sq ?\&
|
||||||
|
(a wildcard that matches exactly one character).
|
||||||
|
For example, to specify a set of declarations for any host in the
|
||||||
|
.Dq .co.uk
|
||||||
|
set of domains,
|
||||||
|
the following pattern could be used:
|
||||||
|
.Pp
|
||||||
|
.Dl Host *.co.uk
|
||||||
|
.Pp
|
||||||
|
The following pattern
|
||||||
|
would match any host in the 192.168.0.[0-9] network range:
|
||||||
|
.Pp
|
||||||
|
.Dl Host 192.168.0.?
|
||||||
|
.Pp
|
||||||
|
A
|
||||||
|
.Em pattern-list
|
||||||
|
is a comma-separated list of patterns.
|
||||||
|
Patterns within pattern-lists may be negated
|
||||||
|
by preceding them with an exclamation mark
|
||||||
|
.Pq Sq !\& .
|
||||||
|
For example,
|
||||||
|
to allow a key to be used from anywhere within an organisation
|
||||||
|
except from the
|
||||||
|
.Dq dialup
|
||||||
|
pool,
|
||||||
|
the following entry (in authorized_keys) could be used:
|
||||||
|
.Pp
|
||||||
|
.Dl from=\&"!*.dialup.example.com,*.example.com\&"
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Pa ~/.ssh/config
|
.It Pa ~/.ssh/config
|
||||||
|
|
Loading…
Reference in New Issue