On Wed, 25 Apr 2001, Rob Hudson wrote:
> I'm just polling for what options are available for using fetchmail
> w/o sending the password in the clear.
> 
> I'm using fetchmail on a Linux machine, and asking for the mail via a
> POP protocol on a FreeBSD machine.

Read the excellent Secure POP via SSH Mini-HOWTO, located at:
http://www.linuxdoc.org/HOWTO/mini/Secure-POP+SSH.html

It includes information on doing it in several POP3 situations, including
fetchmail.

In short, for general use run:
ssh -C -f popserver -L 31337:popserver:110 sleep 5

-C enables compression
-f once established, fork to background
-L forward local port 31337 to port 110 on remote server (popserver). Use
   a high local port, so any user can create a socket (>1024)

sleep 5 - sleep 5 seconds, I usually like to bump this up to 8 hours or
so, so I can have my tunnel all day long

hope this helps!
jakob

Reply via email to