Class

VersionNegotiator

Extends:

Manages the negotiation of the version strings between client and server.

Constants
REQUIRED_VERSION_PATTERN Only versions matching this pattern are supported by Net::SSH.
VERSION_LINE For processing the version header. The version reported by the server must match this pattern.
Public Attributes
header_lines An array of lines returned by the server prior to reporting the version.
Public Methods
negotiate Negotiate version information over the given socket. This will return the version reported by the server.
new Creates a new VersionNegotiator object that logs to the given logger instance.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.