s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
2. The Basic Technique
This technique relies on a fundamental feature of ssh: port forwarding There are many variations on this theme, which depend on your desired mail setup. They all require ssh, which is available from http://www.ssh.fi/ and mirrors. RPMs are available at ftp://ftp.replay.com/pub/crypto/ and Debian packages are available at ftp://non-us.debian.org/debian-non-US/ (and their respective mirrors).
2.1 Setting up Port Forwarding
To start port forwarding, run the following command:
Let's take a closer look at that command:
You can use most other options to ssh when appropriate. A common setting may be a username, since it might be different on the POP server. This requires sshd running on the remote server
2.2 Testing it out
Once you've figured out the details command to run to establish port forwarding, you can try it. For example:
Then it prints:
And I type in my POP password (you may have different shell and POP passwords though, so use your shell one). Now we're done! So we can try:
which should print something like:
Woohoo! It works! The data is sent out over the network encrypted, so the only cleartext is over the loopback interfaces of my local box and the POP server.
Next Previous Contents |