From eb72c8cbf5d5abc5937d988ade20c4c228a5b9be Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 13 May 2019 15:49:31 -0700 Subject: [PATCH] ssh: Show port forwarding information Signed-off-by: Sunil Mohan Adapa --- plinth/modules/ssh/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plinth/modules/ssh/__init__.py b/plinth/modules/ssh/__init__.py index 3ad494107..d4d274fc2 100644 --- a/plinth/modules/ssh/__init__.py +++ b/plinth/modules/ssh/__init__.py @@ -46,6 +46,8 @@ description = [ service = None +port_forwarding_info = [('TCP', 22)] + def init(): """Intialize the ssh module.""" @@ -65,3 +67,4 @@ def setup(helper, old_version=None): class SshServiceView(ServiceView): service_id = managed_services[0] description = description + port_forwarding_info = port_forwarding_info