I get the kmail message "Could not connect to host localhost" when
ssh -v -2 -p995 -L 11110:localhost:995 email@example.com
kmail configured for username, localhost, port 11110
(instead of normally username, pop.gmail.com, 995, normal pop3 works fine with kmail without ssh)
Instructions are from http://www.slac.com/~mpilone/projects/kde/kmailssh/
(ever so slightly changed so I run ssh in a terminal before using kmail.
All done as normal user. OpenSSH_4.3p1, mandriva 2005 LE, 2.6.11-13mdkcustom
Qt: 3.3.4 KDE: 3.3.2 KMail: 1.7.2
cat /etc/hosts | grep local
cat /etc/hosts.allow | grep 127
cat /etc/ssh/ssh_config | grep -v ^#
ssh -v -2 -p995 -L 11110:localhost:995 firstname.lastname@example.org sleep 5
debug1: Connecting to pop.gmail.com [188.8.131.52] port 995.
debug1: Connection established.
TCP 192.168.x.y:50315->184.108.40.206:pop3s (ESTABLISHED)
192.168.x.y is my private PC behind a dlink router
The port 50315 is random, I thought I would get 11110, no?
Loopback is ok: ifconfig | grep Loop
lo Link encap:Local Loopback
Anyway, I googled around, just a few threads similar, but no solution.
Ideas are appreciated
(still a newbie at ntworking really)
Looked into ssh manual, not found a solution there.
PS: No clues in syslog, and cannot find a log for kmail. Running kmail from
command line leaves no messages in the konsole.