Ticket #4428 enhancement closed fixed
feature: let twisted.conch.ssh.transport supported ssh version to be overriden
| Reported by: | alanfranzoni | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | conch | Keywords: | |
| Cc: | Branch: | branches/conch-supported-versions-check-4428 | |
| Author: | alanfranzoni | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

