summaryrefslogtreecommitdiff
path: root/data/templates/system/ssh_config.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 19:53:25 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 19:53:25 +0200
commit59290c857237912dc5cc67733622e2604f1ff30a (patch)
tree96be7d3316a715fc78cd153ebfded3f1cca9b3ca /data/templates/system/ssh_config.j2
parent8abb6c0a74730c3dd675148e9eacbd458f0addcb (diff)
downloadvyos-1x-59290c857237912dc5cc67733622e2604f1ff30a.tar.gz
vyos-1x-59290c857237912dc5cc67733622e2604f1ff30a.zip
system-options: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/system/ssh_config.j2')
-rw-r--r--data/templates/system/ssh_config.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/system/ssh_config.j2 b/data/templates/system/ssh_config.j2
new file mode 100644
index 000000000..1449f95b1
--- /dev/null
+++ b/data/templates/system/ssh_config.j2
@@ -0,0 +1,3 @@
+{% if ssh_client.source_address is vyos_defined %}
+BindAddress {{ ssh_client.source_address }}
+{% endif %}