summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-18 23:04:46 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-18 23:04:48 +0200
commite59da2923cbbb21258cc9769b6a152d6af78abe6 (patch)
tree3a54084962628c6faf15299daab3067586453625 /interface-definitions
parent067ddcf27ac1fbc33cee710ae66a85b0368a26d9 (diff)
downloadvyos-1x-e59da2923cbbb21258cc9769b6a152d6af78abe6.tar.gz
vyos-1x-e59da2923cbbb21258cc9769b6a152d6af78abe6.zip
console-server: T2490: add SSH support
A user can define a port under the SSH node per device. WHen connecting to that port and authenticating using regular credentials we will immediately drop to the serial console. This is the same as executing "connect serial-proxy <name>".
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/service_serial-proxy.xml.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/service_serial-proxy.xml.in b/interface-definitions/service_serial-proxy.xml.in
index ca93fcac3..917af0122 100644
--- a/interface-definitions/service_serial-proxy.xml.in
+++ b/interface-definitions/service_serial-proxy.xml.in
@@ -73,6 +73,14 @@
</constraint>
</properties>
</leafNode>
+ <node name="ssh">
+ <properties>
+ <help>SSH remote access to this console</help>
+ </properties>
+ <children>
+ #include <include/port-number.xml.i>
+ </children>
+ </node>
</children>
</tagNode>
</children>