Re: ssh config file not working as I think the man page describes
On Wed, Nov 13, 2024 at 13:56:11 +0000, Chris Green wrote:
> ... and at the end of ~/.ssh/config:-
> #
> # 'global' options
> #
> Host *
> User chris
> ~
> ~
> chris$ ssh caracal
> chris@caracal.mythic-beasts.com's password:
So put the "Host *" section at the top instead of at the bottom.
>
> The man page for ssh_config says, right at the start: "For each
> parameter, the first obtained value will be used.".
Look at the context, though. That sentence comes right after a list
of the files that are searched. I would assume that it only refers to
parameters that occur in multiple files.
Reply to: