summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-22 23:05:57 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-22 23:16:13 +0200
commitcfe158844b951200a32f38c03259ea5ac845b5ca (patch)
treef3c6404da2527a56197c6afec074a741ff9a0a11 /op-mode-definitions/show-log.xml.in
parent8c7cd6f181a4bbb5aee99f50e6c32eb1f4f37c3d (diff)
downloadvyos-1x-cfe158844b951200a32f38c03259ea5ac845b5ca.tar.gz
vyos-1x-cfe158844b951200a32f38c03259ea5ac845b5ca.zip
op-mode: add show|monitor log ssh|snmp commands
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-rw-r--r--op-mode-definitions/show-log.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index ab9e128a8..7769c5f52 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -333,6 +333,12 @@
</properties>
<command>journalctl --no-hostname --boot --unit snmpd.service</command>
</leafNode>
+ <leafNode name="ssh">
+ <properties>
+ <help>Show log for Secure Shell (SSH)</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit ssh.service</command>
+ </leafNode>
<tagNode name="tail">
<properties>
<help>Show last n changes to messages</help>