openssh host selection

Darren Tucker dtucker at dtucker.net
Tue Feb 6 20:10:40 AEDT 2018


On 6 February 2018 at 20:01, Pujan Shah <ps at dom.de> wrote:
> How does openssh handle dns roundrobin? specifically with "-L" option.

It'll try them in the order your system resolver returns them until
one of them works.  The logic is in channels.c:connect_next().

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list