Fix a crash when Paramiko has trouble with loading a host key.

Review Request #11110 — Created Aug. 2, 2020 and submitted

chipx86
Review Board
release-3.0.x
reviewboard

It's possible for Paramiko to raise an exception if it can't load a host
key that's in a format it doesn't understand. This breaks any attempts
at loading host keys. This is most likely to happen on a developer
setup.

We now check for this and just skip the key.

Encountered this locally and saw it affect unit test runs and some
repository interaction. After the patch, everything worked as expected.

Summary
Fix a crash when Paramiko has trouble with loading a host key.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (39c3482)
Loading...