The ssh server tcp forwarding enable command enables the local port forwarding function on the SSH server.
The undo ssh server tcp forwarding enable command disables the local port forwarding function on the SSH server.
By default, the tcp port forwarding service of SSH server is disabled.
Usage Scenario
You can run the command to enable the local port forwarding service for the SSH server to allow the SSH server to establish TCP connections that cannot be established before due to limitations imposed by a firewall. Implementation of firewall restrictions to complete some previously unable to establish TCP connectionsTo enable the local port forwarding function on the SSH server, run the ssh server tcp forwarding enable command. To disable this function, run the undo ssh server tcp forwarding enable command. The SSH server can receive forwarding request messages from the SSH client and establish a TCP connection (forwarding channel) with a host with a specified IP address and port number to forward data received from the client to the host only after the local port forwarding function is enabled on the SSH server.
Precautions