5f6232c ssh tools: Fix issues with multiple IP addresses

1 file Authored by simo 6 years ago, Committed by lslebodn 6 years ago,
    ssh tools: Fix issues with multiple IP addresses
    
    Cycle through all resolved address until one succeed or all fail.
    This is needed for dual stack systems where either IPv4 or IPv6 are
    improperly configured or selectively filtered at some point along the
    route.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/1498
    
    Merges: https://pagure.io/SSSD/sssd/pull-request/3383
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>