summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ssh.xml.in
diff options
context:
space:
mode:
authorJeffWDH <jeffwdh@github.com>2023-10-28 08:43:39 -0400
committerJeffWDH <jeffwdh@github.com>2023-10-28 08:43:39 -0400
commitced9ddc3fa635b3bf79b506b0ddfd457b522f5c3 (patch)
treebd1ef869b8e749e0fdc43d11c6c9b4658116684e /op-mode-definitions/show-ssh.xml.in
parent6c514d793b7308e83f03ea337d5d9e068e8c2c89 (diff)
downloadvyos-1x-ced9ddc3fa635b3bf79b506b0ddfd457b522f5c3.tar.gz
vyos-1x-ced9ddc3fa635b3bf79b506b0ddfd457b522f5c3.zip
T5653: Command to display SSH server fingerprint
Diffstat (limited to 'op-mode-definitions/show-ssh.xml.in')
-rw-r--r--op-mode-definitions/show-ssh.xml.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ssh.xml.in b/op-mode-definitions/show-ssh.xml.in
new file mode 100644
index 000000000..7b72739c4
--- /dev/null
+++ b/op-mode-definitions/show-ssh.xml.in
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ssh">
+ <properties>
+ <help>Show SSH server information</help>
+ </properties>
+ <children>
+ <node name="fingerprints">
+ <properties>
+ <help>Show SSH server public key fingerprints</help>
+ </properties>
+ <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}/ssh.py show_fingerprints --ascii</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>