class Net::SSH::Transport::Session
def rekey!
If a rekey is already pending, this returns immediately, having no
Requests a rekey operation, and blocks until the operation completes.
def rekey! if !algorithms.pending? algorithms.rekey! wait { algorithms.initialized? } end end