[Gllug] Killing ssh tunnels

Jonathan Dye jonathan.dye at automationpartnership.com
Thu Aug 22 11:06:11 UTC 2002


Hi,

I have got mutt to set up an ssh tunnel to a mailserver using the
imap_preconnect option.  This starts ssh in the background so that when I
exit mutt the tunnel is still around.
What I would like to do is have a logout script (or something) that kills
the ssh when I close the terminal.  But, I don't want closing a different
terminal to kill off the ssh tunnel.  Can anyone suggest a way I can do
this?

JD

--
Jonathan Dye, The Automation Partnership(Cambridge) Ltd
Registered Office: York Way, Royston, Hertfordshire, SG8 5WY, UK
Registered in England, Company No:2823205
http://www.automationpartnership.com
Tel: +44 1763 227 403 Fax: +44 1763 227 201
mailto:jonathan.dye at automationpartnership.com

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list