module Net::SSH::Transport::PacketStream

def initialize_ssh

the states and generally prepares the object for use as a packet stream.
Called when this module is used to extend an object. It initializes
def initialize_ssh
  @hints  = {}
  @server = State.new(self, :server)
  @client = State.new(self, :client)
  @packet = nil
  initialize_buffered_io
end