summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-04 22:33:18 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-04 22:33:18 +0200
commit846e306700af191d22dc874992bbf5f04d2799c4 (patch)
tree4053023650917d8406d4e952cfd3cbcb416e85d3 /interface-definitions
parent3658058c6299a107dd5ce5973a9ec5e4be7064b0 (diff)
downloadvyos-1x-846e306700af191d22dc874992bbf5f04d2799c4.tar.gz
vyos-1x-846e306700af191d22dc874992bbf5f04d2799c4.zip
ssh: T2651: add cli options for source address
When running SSH from the VyOS system the source IP address can be set by: set system options ssh-client source-address x.x.x.x
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-options.xml.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/interface-definitions/system-options.xml.in b/interface-definitions/system-options.xml.in
index 194773329..a5fec10db 100644
--- a/interface-definitions/system-options.xml.in
+++ b/interface-definitions/system-options.xml.in
@@ -46,13 +46,21 @@
</leafNode>
<node name="http-client">
<properties>
- <help>Global options used for HTTP based commands</help>
+ <help>Global options used for HTTP client</help>
</properties>
<children>
#include <include/source-interface.xml.i>
#include <include/source-address-ipv4-ipv6.xml.i>
</children>
</node>
+ <node name="ssh-client">
+ <properties>
+ <help>Global options used for SSH client</help>
+ </properties>
+ <children>
+ #include <include/source-address-ipv4-ipv6.xml.i>
+ </children>
+ </node>
</children>
</node>
</children>