diff --git a/torch-pub.py b/torch-pub.py index aec7adb..98fd542 100644 --- a/torch-pub.py +++ b/torch-pub.py @@ -59,7 +59,9 @@ with Controller.from_port(port = torControllerPort) as controller: print("Connected to Tor on port %s" % (torControllerPort)) - service = controller.create_ephemeral_hidden_service(sshPort) + service = controller.create_ephemeral_hidden_service( + sshPort, + detached = True) onionAddress = "%s.onion" % (service.service_id)