ssh_config "Tag" - really only one?

Brian Candler b.candler at pobox.com
Thu Sep 10 06:16:59 AEST 2026


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.

% ssh -F foo.conf -l bar -l baz -G qux at anywhere | egrep -i '^user '
user bar

% ssh -F foo.conf qux at anywhere -l bar -l baz -G | egrep -i '^user '
user qux




More information about the openssh-unix-dev mailing list