remote: Fix when .ssh config is missing (#47310)

Closes #47309

Rewroked the file parsing loop so that if one file is missing it doesn't
cause the loop to exit prematurely.

Release Notes:
* Fixed issue where user .ssh/config file would not parse if global ssh
config file was not present.

---------

Co-authored-by: Gaff <226665+Gaff@users.noreply.github.com>
d4f2056ea4Matthew committed on 1/23/2026, 11:31:37 AM· committed by GitHubparent5eb2ff0
1 file changedLine totals unavailable