Hi!
Today I found a link on kmail.kde.org
article about using KMail and ssh tunnels. Problem is that I can't seem to get it work. Everything is OK if I run script and then test it with telnet e.g.
sshpopportforward.sh ; telnet localhost 11110
but it just doesn't work from KMail. I get the error "Could not connect to localhost". Maybe any1 has an idea why this happens?
--- sshpopportforward.sh script ---
#!/bin/sh
SSH_USERNAME=my_pop3_login
SSH_SERVER=my_pop3_server
SSH_MAIL_SERVER=$SSH_SERVER
ssh -C -f $SSH_USERNAME@$SSH_SERVER -L 11110:$SSH_MAIL_SERVER:110 'sleep 5'; sleep 1
My system:
OS: FreeBSD 5.2.1-RC1
KDE 3.2
KMail 1.6
OpenSSH_3.6.1p1
Thanks!