sshd config parser

Damien Miller djm at
Sat Apr 1 23:02:49 EST 2006

On Sat, 1 Apr 2006, Senthil Kumar wrote:

> Hi Darren,
> This is what I need. I have filed an enhancement request for this at 
> I would prefer to extend the current Host directive for this purpose.

You realise that Darren is taling about *sshd_config* and not 
*ssh_config* as in your bug.

Changing ssh_config to support network addresses is difficult because
a Host declaration can change the actual destination host using the 
Hostname command. Also, a host may have multiple addresses - which one
should be used? Therefore making Host support subnets means possibly
three passes over the config file - what happens when options collide
between a "Host name" and a "Host addr" block? It is far more tricky 
than it looks...


More information about the openssh-unix-dev mailing list