Re: Using the Host declaration properly



On Jan 25, 4:33 pm, Darren Tucker <dtuc...@xxxxxxxxxxxxxxxx> wrote:
For each parameter, the first obtained value will be used. The configu-
ration files contain sections separated by "Host" specifications, and
that section is only applied for hosts that match one of the patterns
given in the specification. The matched host name is the one given on
the command line.

It didn't occur to me that the aforementioned ordering would also apply
to Host stanzas themselves. I was thinking of it as applied to options
that the user accidentally specified more than once. But it makes
sense,
because as soon as you entered the first Host stanza, that variable has
been set, and cannot then be reset to a different value as the
documentation states.

Thanks!

.



Relevant Pages

  • Re: Pattern specification trouble
    ... for the Host declaration in .ssh/config you would need to check `man ssh_config`. ... ~/.ssh/config and private keys are for the ssh client configuration. ... A pattern-list is a comma-separated list of patterns. ...
    (SSH)
  • Re: restricted users
    ... This keyword can be followed by a list of user name patterns, ... used as wildcards in the patterns. ... By default, login is ... If the pattern takes the form USER@HOST then USER and HOST are ...
    (SSH)
  • Re: BLOCK SSH FOR CERTAIN USERS
    ... This keyword can be followed by a list of user name patterns, ... login is allowed for all ... HOST are separately checked, restricting logins to particular ...
    (comp.unix.aix)
  • Re: How to deny on ssh
    ... (I've just re-checked it under AIX 5.1 and 5.2) ... user names that match one of the patterns. ... login is allowed for all users. ... pattern takes the form USER@HOST then USER and HOST are ...
    (comp.unix.aix)
  • Re: BLOCK SSH FOR CERTAIN USERS
    ... This keyword can be followed by a list of user name patterns, ... login is allowed for all ... HOST are separately checked, restricting logins to particular ...
    (comp.unix.aix)