summaryrefslogtreecommitdiff
path: root/data/templates/ssh/override.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ssh/override.conf.tmpl')
-rw-r--r--data/templates/ssh/override.conf.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/ssh/override.conf.tmpl b/data/templates/ssh/override.conf.tmpl
new file mode 100644
index 000000000..1013d4b48
--- /dev/null
+++ b/data/templates/ssh/override.conf.tmpl
@@ -0,0 +1,8 @@
+[Service]
+ExecStart=
+{% if vrf %}
+ExecStart=/sbin/ip vrf exec {{ vrf }} /usr/sbin/sshd -D $SSHD_OPTS
+{% else %}
+ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
+{% endif %}
+