proxy.core.ssh.listener module#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

  1. 2013-present by Abhinav Singh and contributors.


BSD, see LICENSE for more details.

class proxy.core.ssh.listener.SshTunnelListener(flags: argparse.Namespace, on_connection_callback: Callable[[Channel, HostPort, HostPort], None])[source]#

Bases: object

Connects over SSH and forwards a remote port to local host.

Incoming connections are delegated to provided callback.

setup() None[source]#
shutdown() None[source]#
start_port_forward(remote_addr: HostPort) None[source]#
stop_port_forward(remote_addr: HostPort) None[source]#