# File lib/net/ssh/transport/session.rb, line 111
    def rekey!
      if !algorithms.pending?
        algorithms.rekey!
        wait { algorithms.initialized? }
      end
    end