summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ssh.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-29 09:57:33 +0100
committerGitHub <noreply@github.com>2023-10-29 09:57:33 +0100
commit5974491d4b69932876ad697f82e1ef74cd37aa8f (patch)
tree6069e6cd61482e3873e641b586a377c8a7b3ad70 /op-mode-definitions/show-ssh.xml.in
parent2c87e2440cab8f6501faf3a4e2d08dbb43d6c73f (diff)
parent57000d752c610984c2074ad8cd2fa2d346794ba9 (diff)
downloadvyos-1x-5974491d4b69932876ad697f82e1ef74cd37aa8f.tar.gz
vyos-1x-5974491d4b69932876ad697f82e1ef74cd37aa8f.zip
Merge pull request #2412 from JeffWDH/sagitta
T5661: Add show ssh dynamic-protection and show log ssh dynamic-protection
Diffstat (limited to 'op-mode-definitions/show-ssh.xml.in')
-rw-r--r--op-mode-definitions/show-ssh.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ssh.xml.in b/op-mode-definitions/show-ssh.xml.in
index 7b72739c4..ca8e669b3 100644
--- a/op-mode-definitions/show-ssh.xml.in
+++ b/op-mode-definitions/show-ssh.xml.in
@@ -7,6 +7,12 @@
<help>Show SSH server information</help>
</properties>
<children>
+ <node name="dynamic-protection">
+ <properties>
+ <help>Show SSH server dynamic-protection blocked attackers</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/ssh.py show_dynamic_protection</command>
+ </node>
<node name="fingerprints">
<properties>
<help>Show SSH server public key fingerprints</help>