This pull request contains a proposed interface for setting the SSH banner timeouts on Paramiko Client objects.
I've been working on using Paramiko as part of an integration testing tool for Project Calico. As part of this tool we frequently reset VMs back to snapshots, which can lead to quite long timeouts where the TCP connection is accepted but the SSH daemon is not yet ready to present the banner. These timeouts are frequently more than 15 seconds.
For this reason, it would be useful to be able to set the banner timeout on the underlying Transport.
Allow setting of SSH banner timeouts on Clients
Coverage decreased (-0.13%) when pulling 2ee8ec8 on Lukasa:banner_timeout into e811e71 on paramiko:master.
@Lukasa i like this, but would prefer some tests, if you add them i'd slap on the reviewed label.
Test banner timeout.
@lndbrg Added a proposed test. =)
Coverage increased (+0.23%) when pulling 3b9eaef on Lukasa:banner_timeout into e811e71 on paramiko:master.
@Lukasa awesome. Can we turn it down to one second to speed up the test even more? Else, looks good.
Use a shorter timeout in banner timeout test.
Coverage increased (+0.27%) when pulling 021160d on Lukasa:banner_timeout into e811e71 on paramiko:master.
Changelog re #362