summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ssh.xml.in
blob: ca8e669b3e45089499cd9223025128f94926d19f (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
29
30
31
32
33
34
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="ssh">
        <properties>
          <help>Show SSH server information</help>
        </properties>
        <children>
          <node name="dynamic-protection">
            <properties>
              <help>Show SSH server dynamic-protection blocked attackers</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/ssh.py show_dynamic_protection</command>
          </node>
          <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>