| |
| | SSH Port Forwarding |
 | | Before we connected to the shellserver with SSH, nothing was listening on port 9999 on our desktop - once we'd logged in to the mail server with our tunnel, this port was bound by our SSH process, and the TCP connection to local port 9999 was magically tunneled through SSH to the other side. |
 | | The SSH client binds the local port you specified, port 9999, on the loopback interface, 127.0.0.1. |
 | | The client takes any bits sent to this port (9999), sends them to the server inside the encrypted SSH session, who decrypts them and then sends them in the clear to the destination, port 110 of the mailserver. |
| www.securityfocus.com /infocus/1816 (1851 words) |
|