#3366 sss_ssh_knownhostsproxy fails to try multiple ip addresses
Closed: duplicate Opened by simo.

if you run this command on some networks you'll get an error code of 1:
/usr/bin/sss_ssh_knownhostsproxy -p 22 pagure.io
When I run it under strace I see it tries to connect to an ipv6 address and fails, it then fail.

If you try to resolve this name you'll see that 2 IPa ddress are returned (ipv6 and ipv4).
I know the ipv4 would work, but the tool never tries it.

This breaks my ssh connections to this host ...


VErified by setting just the IPV4 address for pagure.io in /etc/hosts so that DNS resolution was not performed, and my ssh connections to that host now work.

Note that removing the entry from the hosts file causes connections to break again, so this is a high impact bug.

Duplicate of:
https://pagure.io/SSSD/sssd/issue/1498

Metadata Update from @lslebodn:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4396

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata