# File lib/net/ssh/transport/session.rb, line 135 def rekey_as_needed return if algorithms.pending? socket.if_needs_rekey? { rekey! } end