Revert "Revert "Allow configuration of SSH rekey values""
This reverts commit 3435c536a6024fc2a92610be452ab4d85ae5268c.
Change-Id: I4efe2e209ff05e68d8add596025622e76646bfde
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt
index f43ea16..5b1817a 100644
--- a/Documentation/config-gerrit.txt
+++ b/Documentation/config-gerrit.txt
@@ -3072,6 +3072,24 @@
+
By default, true.
+[[sshd.rekeyBytesLimit]]sshd.rekeyBytesLimit::
++
+The SSH daemon will issue a rekeying after a certain amount of data.
+This configuration option allows you to tweak that setting.
++
+By default, 1073741824 (bytes, 1GB).
++
+The rekeyBytesLimit cannot be set to lower than 32.
+
+[[sshd.rekeyTimeLimit]]sshd.rekeyTimeLimit::
++
+The SSH daemon will issue a rekeying after a certain amount of time.
+This configuration option allows you to tweak that setting.
++
+By default, 1h.
++
+Set to 0 to disable this check.
+
[[suggest]]
=== Section suggest