Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Faciliate ssh tunnel sharing by announcing ports #807

merged 1 commit into from

2 participants


This minor patch provides a connection string to allow the reuse of ssh tunnels created by qtconsole --ssh=...

Using the tunnel connection string I was able to successfully connect another qtconsole, as well as vim-ipython.


Sensible. I like it.

@minrk minrk merged commit 80acde0 into from
@ellisonbg ellisonbg referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 20, 2011
  1. @ivanov
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 IPython/frontend/qt/console/
6 IPython/frontend/qt/console/
@@ -360,6 +360,12 @@ def init_ssh(self):
for lp,rp in zip(lports, rports):
tunnel.ssh_tunnel(lp, rp, self.sshserver, remote_ip, self.sshkey, password)
+ self.log.critical("To connect another client to this tunnel, use:")
+ self.log.critical(
+ "--existing --shell={0} --iopub={1} --stdin={2} --hb={3}".format(
+ self.shell_port, self.iopub_port, self.stdin_port,
+ self.hb_port))
def init_kernel_manager(self):
# Don't let Qt or ZMQ swallow KeyboardInterupts.
signal.signal(signal.SIGINT, signal.SIG_DFL)
Something went wrong with that request. Please try again.