

The destination hostname must be resolvable from the SSH server. If your SSH server is listening on a port other than 22 Ports numbers less than 1024 are privileged ports and can be used only by root. You can use any port number greater than 1024 as a LOCAL_PORT.

This article explains how to set up local, remote, and dynamic encrypted SSH tunnels. Creates a SOCKS proxy server that allows communication across a range of ports. Forwards a port from the server host to the client host and then to the destination host port. Forwards a connection from the client host to the SSH server host and then to the destination host port. There are three types of SSH port forwarding: Basically, you can forward any TCP port and tunnel the traffic over a secure SSH connection. , accessing geo-restricted content, or bypassing intermediate firewalls. SSH forwarding is useful for transporting network data of services that use an unencrypted protocol, such as VNC or FTP SSH tunneling or SSH port forwarding is a method of creating an encrypted SSH connection between a client and a server machine through which services ports can be relayed.
