summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ssh.xml.in
diff options
context:
space:
mode:
authorJeffWDH <JeffWDH@users.noreply.github.com>2023-10-16 15:49:23 -0300
committerGitHub <noreply@github.com>2023-10-16 20:49:23 +0200
commit69fb230ee022100234af233f2a2823f887c95059 (patch)
tree3606efffa0ae7933481629d5b59dd3a84249ed80 /op-mode-definitions/show-ssh.xml.in
parentbc0330808b211f4b6eedc87e9dd9749f1e91d9aa (diff)
downloadvyos-1x-69fb230ee022100234af233f2a2823f887c95059.tar.gz
vyos-1x-69fb230ee022100234af233f2a2823f887c95059.zip
op-mode: T5653: command to display SSH server public key fingerprints
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..dc6e0d02e
--- /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}/show-ssh-fingerprints.py</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>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>