SSH protocol and openssh are full of features. It is not just remote terminal program.
You probably know about static port forwarding, local and remote. It allows to map local port to any host via SSH gateway or map incoming port on SSH gateway to local one. It is very useful in some situations. But what is dynamic port forwarding ?Dynamic port forwarding allows you to initiate connections on Behalf-Of SSH gateway, using any port.
This is done through emulating SOCKS proxy server on local side. See the picture:
SSH client(putty) opens local port and starts SOCKS proxy server on it.
After every application that supports socks proxy can use it. Just configure your browser to use local SOCKS proxy and voila.
- Access to intranet sites from internet via ssh gateway
- Temporary changing of your IP to visit sites
- Access to server localhost services like apache status