Issue #22: Try IPv4 as well as IPv6 when port is not open on IPv6.
Issue #22: Try IPv4 as well as IPv6 when port is not open on IPv6.

This only tries the next address family when the connection gets refused which is my
use case. The destination SSH server had IPv6 enabled but SSH running only on IPv4.

Making paramiko try the next route is just a matter of modifying an except clause.

Bluehorn/paramiko