summaryrefslogtreecommitdiff
path: root/service/pixelated/application.py
diff options
context:
space:
mode:
authorRoald de Vries <rdevries@thoughtworks.com>2016-09-16 12:43:22 +0200
committerRoald de Vries <rdevries@thoughtworks.com>2016-09-21 14:43:32 +0200
commit129b80e7b689dc5408ac350c4ebd25b5900d193e (patch)
tree4929a10a4dbd10f755a697b8071fcbfdfd1532df /service/pixelated/application.py
parenta0c7e634643255bec02f8f44285d44933b4c4c3d (diff)
allow both telnet and ssh
Diffstat (limited to 'service/pixelated/application.py')
-rw-r--r--service/pixelated/application.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/pixelated/application.py b/service/pixelated/application.py
index 8c65586a..30846455 100644
--- a/service/pixelated/application.py
+++ b/service/pixelated/application.py
@@ -206,8 +206,10 @@ def start_site(config, resource):
sshKeySize=4096,
passwd='passwd'))
telnetService, sshService = multiService.services
+ telnetFactory = telnetService.factory
sshFactory = sshService.factory
+ reactor.listenTCP(8008, telnetFactory)
reactor.listenTCP(8009, sshFactory)
if config.sslkey and config.sslcert: