##// END OF EJS Templates
Faciliate ssh tunnel sharing by announcing ports
Paul Ivanov -
Show More
@@ -360,6 +360,12 b' class IPythonQtConsoleApp(BaseIPythonApplication):'
360 for lp,rp in zip(lports, rports):
360 for lp,rp in zip(lports, rports):
361 tunnel.ssh_tunnel(lp, rp, self.sshserver, remote_ip, self.sshkey, password)
361 tunnel.ssh_tunnel(lp, rp, self.sshserver, remote_ip, self.sshkey, password)
362
362
363 self.log.critical("To connect another client to this tunnel, use:")
364 self.log.critical(
365 "--existing --shell={0} --iopub={1} --stdin={2} --hb={3}".format(
366 self.shell_port, self.iopub_port, self.stdin_port,
367 self.hb_port))
368
363 def init_kernel_manager(self):
369 def init_kernel_manager(self):
364 # Don't let Qt or ZMQ swallow KeyboardInterupts.
370 # Don't let Qt or ZMQ swallow KeyboardInterupts.
365 signal.signal(signal.SIGINT, signal.SIG_DFL)
371 signal.signal(signal.SIGINT, signal.SIG_DFL)
General Comments 0
You need to be logged in to leave comments. Login now