sshlib
sshlib copied to clipboard
Add support for specifying IP version
Added new signatures to the connect method of the Connection class to allow the caller to restrict the IP version of the connection to be established. The new signatures duplicate existing signatures and add one parameter. For backwards compatibility, the default for the new parameter is IPv4 and IPv6, while the new values are "IPv4 only" and "IPv6 only".