ssh_config "Tag" - really only one?

Marc Haber mh+openssh-unix-dev at zugschlus.de
Mon Sep 14 01:55:54 AEST 2026


On Wed, Sep 09, 2026 at 09:16:59PM +0100, Brian Candler wrote:
>On 09/09/2026 21:11, Brian Candler wrote:
>>That seems confusing, and I would have thought it would be better to 
>>abort with an error message if -P is supplied more than once.
>
>Having said that, the current behaviour *is* internally consistent 
>with the rest of ssh option parsing. For example, if you specify the 
>login name multiple times, it's not rejected: first wins.

But it doesnt make sense to specify multiple target hosts, user names, 
identities. It DOES make sense to specify more than one Tag, in the same 
way it makes sense to specify multiple -o options.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


More information about the openssh-unix-dev mailing list