bundles / jupyter_client 8.10.0 / jupyter_client / ssh / tunnel / open_tunnel
function
jupyter_client.ssh.tunnel:open_tunnel
Signature
def open_tunnel(addr: str, server: str, keyfile: str | None = None, password: str | None = None, paramiko: Any = None, timeout: int = 60) → tuple[str, int]Summary
Open a tunneled connection from a 0MQ url.
Extended Summary
For use inside tunnel_connection.
Returns
(url, tunnel): (str, object)The 0MQ url that has been forwarded, and the tunnel object
Aliases
jupyter_client.ssh.tunnel.open_tunnel