Re: OpenSSH option to set default hostkey directory?

From: jfkfcia@yahoo.com
Date: 02/11/03


From: jfkfcia@yahoo.com
Date: Tue, 11 Feb 2003 11:46:34 -0800

Okay, got it. Thanks.

The manpage also states that config data is parsed in the following
order: CLI options, user's config file, system-wide config file. But
what's not clear to me is quite how the Host keyword sections are
parsed in the user's config file.

For example if I have:

Host alpha
        IdentityFile ~/.ssh/batchmode
Host *
        IdentityFile ~/.ssh/id_rsa
        (lots of other options)

...and I ssh to the host "alpha", then will ssh stop after matching
alpha, and not apply any of the (lots of other options)? Or will it
use the options specified for alpha, and continue reading, and since
alpha also matches "*" apply those rules?

Just wondering if a given host will only match one "Host" ruleset, and
not also apply wildcard rules.

thanks,
jfkfcia

On 10 Feb 2003 00:11:02 -0500, slade@shore.net (Richard E. Silverman)
wrote:

>Read the first few paragraphs of ssh_config(5).



Relevant Pages

  • Re: OpenSSH option to set default hostkey directory?
    ... debug1: Applying options for alpha ... CLI options, user's config file, system-wide config file. ... >what's not clear to me is quite how the Host keyword sections are ... >...and I ssh to the host "alpha", then will ssh stop after matching ...
    (comp.security.ssh)
  • RSH is not working between Windows xp sp-2 and Open Vms 8.2
    ... PC and Alpha ... Message from user INTERnet on BSHFMC ... INTERnet ACP RSH Connect Request to Host 192.168.68.222 Port:1023 ... INTERnet ACP RSH Reject Request-no proxy cache - from Host: ...
    (comp.os.vms)
  • Re: Change pipeline component properties
    ... Based on the type of Host you are using you can store the runtime configuration in a config file similar to any .NET projects. ...
    (microsoft.public.biztalk.general)
  • Re: Sharing printers with cups: what is wrong?
    ... >> from there allow all host that you wish to have print capabilities for. ... > I've found that there are times where CIDR notation (e.g. ... perhaps when you edited a config file by hand.... ...
    (Fedora)
  • Re: Secure CRT
    ... you can set up your user's config file: ... which gives the login for that host. ... bash-completion rpm which nicely sets up bash's programmable ... TAB completion: ...
    (RedHat)