From e3f6196ffc904b6bfe349bac6dfb396c17535494 Mon Sep 17 00:00:00 2001 From: JeffWDH Date: Sat, 28 Oct 2023 09:42:07 -0400 Subject: T5661: Add show ssh dynamic-protection and show log ssh dynamic-protection --- op-mode-definitions/show-log.xml.in | 12 ++++++++++-- op-mode-definitions/show-ssh.xml.in | 6 ++++++ 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 747622db6..a54d28288 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -398,12 +398,20 @@ journalctl --no-hostname --boot --unit snmpd.service - + Show log for Secure Shell (SSH) journalctl --no-hostname --boot --unit ssh.service - + + + + Show dynamic-protection log + + journalctl --no-hostname -p info -t sshguard -o short + + + Show last n changes to messages diff --git a/op-mode-definitions/show-ssh.xml.in b/op-mode-definitions/show-ssh.xml.in index 7b72739c4..88faecada 100644 --- a/op-mode-definitions/show-ssh.xml.in +++ b/op-mode-definitions/show-ssh.xml.in @@ -7,6 +7,12 @@ Show SSH server information + + + Show SSH server dynamic-protection blocked attackers + + ${vyos_op_scripts_dir}/ssh.py show_dynamic_protection + Show SSH server public key fingerprints -- cgit v1.2.3