BUGFIX: Tor hidden service was being closed after publication
This commit is contained in:
parent
2948cf7f07
commit
05be3a003d
|
@ -59,7 +59,9 @@ with Controller.from_port(port = torControllerPort) as controller:
|
||||||
|
|
||||||
print("Connected to Tor on port %s" % (torControllerPort))
|
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)
|
onionAddress = "%s.onion" % (service.service_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user