[plug] Debian, fetchmail, ssh port forward

W.Kenworthy billk at iinet.net.au
Wed Sep 7 09:17:13 WST 2005


You might do better with zebedee rather than ssh for port tunneling.
ssh does good basic tunneling, but the effort and problems sometimes
make it more difficult than it should be.

BillK


On Wed, 2005-09-07 at 10:20 +0930, Onno Benschop wrote:
> Hi all,
> 
> My reading of the documentation suggests that I can setup a preconnect 
> line that sets up port forwarding so fetchmail can connect to a local 
> port and end up at the remote server across an ssh tunnel. This is all fine.
> 
> Here's where I come unstuck:
> 
>     ssh is setup with a key pair, to allow passwordless login. How do I
>     get fetchmail to use my keys?
> 
> 
> Bear in mind that fetchmail runs as the fetchmail user and I'm 
> suspecting it wouldn't be a great idea to copy my keys into the 
> /var/run/fetchmail/.ssh directory.
> 
> How am I supposed to do this?
> 
>     Also, how do I tear down the tunnel after we're done with a mail poll?
> 
> 
> 
> Cheers,
> 



More information about the plug mailing list