SSH Tunnelling

| -Uncategorized

Still no breakthrough. I’m trying to automatically set up SSH tunnels. Because sysads doesn’t like passphrases, I have to use expect to automate the password. I want the tunnels to be automatically brought up when and only when the interface is up and the school profile is selected. I’m using laptop-net to manage different network configurations – I’m a laptop user, so I tend to move around a fair bit.

I need this to work in order to have tunnelled secure SMTP out to cyrus.free.net.ph, as firewalls prevent me from making a direct connection. Any ideas? I’ve been playing around with expect, but so far, no joy.

You can comment with Disqus or you can e-mail me at sacha@sachachua.com.