Source code for csle_common.tunneling.forward_ssh_server
try:
import SocketServer
except ImportError:
import socketserver as SocketServer
[docs]class ForwardSSHServer(SocketServer.ThreadingTCPServer):
"""
SSH Server for forwarding local port over a SSH tunnel
"""
daemon_threads = True
allow_reuse_address = True