feature: let twisted.conch.ssh.transport supported ssh version to be overriden
|Reported by:||alanfranzoni||Owned by:|
branch-diff, diff-cov, branch-cov, buildbot
Currently, twisted.conch.ssh.transport ssh protocol supported versions are hardcoded into the dataReceived method, and cannot be overriden. While this isn't usually a problem, some half-baked ssh implementations do sometimes return a strange version number (notably, 2.99) even though the protocol version is actually 2.0.
While this shouldn't be hardcoded in the transport, since it's actually a protocol glitch, this patch allows SSHTransportBase subclassers to override supported version numbers without rewriting the dataReceived method, if this is necessary.
Change History (14)
comment:4 Changed 7 years ago by