Class Net::SSH::Transport::AlgorithmNegotiator
In: lib/net/ssh/transport/algorithm-negotiator.rb
Parent: Object

The AlgorithmNegotiator is used for negotiating the algorithms to be employed for a specific SSH session.

Methods

negotiate   new  

Included Modules

Constants

Constants

Algorithms = Struct.new( :server_packet, :client_packet, :kex, :host_key, :encryption_c2s, :encryption_s2c, :mac_c2s, :mac_s2c, :compression_c2s, :compression_s2c, :language_c2s, :language_s2c, :compression_level )

Public Class methods

Create a new AlgorithmNegotiator instance, using the given logger, set of default algorithms, and buffer factory.

Public Instance methods

Negotiate the supported algorithms with the server. If a compromise cannot be reached between what the client wants and what the server can provide, this will fail.

[Validate]