diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 0f0f24ee..f7382dd9 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -5655,4 +5655,12 @@ class SSH2 { $this->smartMFA = false; } + + /** + * How many bytes until the next key re-exchange? + */ + function bytesUntilKeyReexchange($bytes) + { + $this->doKeyReexchangeAfterXBytes = $bytes; + } }