summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-10 20:03:00 +0200
committerGitHub <noreply@github.com>2022-10-10 20:03:00 +0200
commit9769f25fdf3bde3775ed5a0108543dc6e89745cf (patch)
treea1e3d3df5aeff9483cae11449ac324ba914b8714 /interface-definitions
parentadc9af1983657589b95f8e42f83a8d02cc731402 (diff)
parentb9de775a5b4f017f9d164a127d93f55ce9053756 (diff)
downloadvyos-1x-9769f25fdf3bde3775ed5a0108543dc6e89745cf.tar.gz
vyos-1x-9769f25fdf3bde3775ed5a0108543dc6e89745cf.zip
Merge pull request #1563 from sever-sever/T4716
ssh: T4716: Ability to configure RekeyLimit data and time
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/ssh.xml.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/interface-definitions/ssh.xml.in b/interface-definitions/ssh.xml.in
index 126183162..f3c731fe5 100644
--- a/interface-definitions/ssh.xml.in
+++ b/interface-definitions/ssh.xml.in
@@ -206,6 +206,37 @@
</properties>
<defaultValue>22</defaultValue>
</leafNode>
+ <node name="rekey">
+ <properties>
+ <help>SSH session rekey limit</help>
+ </properties>
+ <children>
+ <leafNode name="data">
+ <properties>
+ <help>Threshold data in megabytes</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Megabytes</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="time">
+ <properties>
+ <help>Threshold time in minutes</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Minutes</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
<leafNode name="client-keepalive-interval">
<properties>
<help>Enable transmission of keepalives from server to client</help>