class Net::SSH::Service::Forward

def initialize(session)

the specialized channels that the SSH port forwarding protocols employ.
service session. This will register new channel open handlers to handle
Instantiates a new Forward service instance atop the given connection
def initialize(session)
  @session = session
  self.logger = session.logger
  @remote_forwarded_ports = {}
  @local_forwarded_ports = {}
  @agent_forwarded = false
  @local_forwarded_sockets = {}
  session.on_open_channel('forwarded-tcpip', &method(:forwarded_tcpip))
  session.on_open_channel('auth-agent', &method(:auth_agent_channel))
  session.on_open_channel('auth-agent@openssh.com', &method(:auth_agent_channel))
end