blob: 86bb1b1bd7e85551f460b7d87acec1c4b77064fe (
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
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="generate">
<properties>
<help>Generate an object/key</help>
</properties>
<children>
<node name="ssh">
<properties>
<help>Generate SSH related keypairs</help>
</properties>
<children>
<node name="server-key">
<properties>
<help>Re-generate SSH host keys and restart SSH server</help>
</properties>
<command>${vyos_op_scripts_dir}/generate_ssh_server_key.py</command>
</node>
<tagNode name="client-key">
<properties>
<help>Re-generate SSH client keypair</help>
<completionHelp>
<list><filename></list>
</completionHelp>
</properties>
<command>ssh-keygen -t rsa -f "$4" -N ""</command>
</tagNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|