summaryrefslogtreecommitdiff
path: root/data/templates/system/ssh_config.j2
diff options
context:
space:
mode:
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 %}