summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ssh.xml.in
blob: 7b72739c4555aad53468d783c95a72469dcb51fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>