What are SSH tunnels and how to use them
www.ibm.com › support › pagesThe mechanism ssh uses to provide access to this is to create new sockets at each end of the tunnel which an application can use to access the TCP service. These new sockets replace the the old sockets one would normally use. Tunnels secure data but also allow the user to "punch holes" in networks that can be used to access restricted services.