summaryrefslogtreecommitdiff
path: root/op-mode-definitions/generate-ssh-server-key.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/generate-ssh-server-key.xml.in')
-rw-r--r--op-mode-definitions/generate-ssh-server-key.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/generate-ssh-server-key.xml.in b/op-mode-definitions/generate-ssh-server-key.xml.in
index 86bb1b1bd..ecea3e5d1 100644
--- a/op-mode-definitions/generate-ssh-server-key.xml.in
+++ b/op-mode-definitions/generate-ssh-server-key.xml.in
@@ -14,7 +14,7 @@
<properties>
<help>Re-generate SSH host keys and restart SSH server</help>
</properties>
- <command>${vyos_op_scripts_dir}/generate_ssh_server_key.py</command>
+ <command>sudo ${vyos_op_scripts_dir}/generate_ssh_server_key.py</command>
</node>
<tagNode name="client-key">
<properties>