summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ssh.xml.in
diff options
context:
space:
mode:
authorJeffWDH <jeffwdh@github.com>2023-10-21 14:29:05 -0400
committerJeffWDH <jeffwdh@github.com>2023-10-21 14:29:05 -0400
commit8cdf6eb47052445cde3b4f22e422afa9422a9a73 (patch)
tree9015b9842f47a5a02d99f0d245330591bac17e60 /op-mode-definitions/show-ssh.xml.in
parent69fb230ee022100234af233f2a2823f887c95059 (diff)
downloadvyos-1x-8cdf6eb47052445cde3b4f22e422afa9422a9a73.tar.gz
vyos-1x-8cdf6eb47052445cde3b4f22e422afa9422a9a73.zip
T5661: Add show show ssh dynamic-protection attacker 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.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/op-mode-definitions/show-ssh.xml.in b/op-mode-definitions/show-ssh.xml.in
index dc6e0d02e..88faecada 100644
--- a/op-mode-definitions/show-ssh.xml.in
+++ b/op-mode-definitions/show-ssh.xml.in
@@ -7,17 +7,23 @@
<help>Show SSH server information</help>
</properties>
<children>
+ <node name="dynamic-protection">
+ <properties>
+ <help>Show SSH server dynamic-protection blocked attackers</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/ssh.py show_dynamic_protection</command>
+ </node>
<node name="fingerprints">
<properties>
<help>Show SSH server public key fingerprints</help>
</properties>
- <command>${vyos_op_scripts_dir}/show-ssh-fingerprints.py</command>
+ <command>${vyos_op_scripts_dir}/ssh.py show_fingerprints</command>
<children>
<node name="ascii">
<properties>
<help>Show visual ASCII art representation of the public key</help>
</properties>
- <command>${vyos_op_scripts_dir}/show-ssh-fingerprints.py --ascii</command>
+ <command>${vyos_op_scripts_dir}/ssh.py show_fingerprints --ascii</command>
</node>
</children>
</node>