diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-11 15:58:18 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-11 15:58:18 +0200 |
commit | 5deb12c509bea6e353c3b4c3174f040895646cf8 (patch) | |
tree | 0405621fdec0de0430bdf3bbe5b37b9aa9709701 /data/templates/ssh/override.conf.tmpl | |
parent | c2c91c4a7c74c851236a40759fa56521f39cd2cc (diff) | |
download | vyos-1x-5deb12c509bea6e353c3b4c3174f040895646cf8.tar.gz vyos-1x-5deb12c509bea6e353c3b4c3174f040895646cf8.zip |
ssh: T2321: add VRF support
Diffstat (limited to 'data/templates/ssh/override.conf.tmpl')
-rw-r--r-- | data/templates/ssh/override.conf.tmpl | 8 |
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 %} + |