Click to See Complete Forum and Search --> : SSH Tunnel'en not working :-(.


servo888
12-12-2003, 05:47 PM
To access my email I need to tunnel to my webserver (in Texas) through SSH and forware a local port to the POP3 port on the server, so I can read my mail.

So in console I type:

ssh -l username www.domain.com -P -L 1337:www.domain.com:110

Also what works is:

ssh -P -L 1337:www.domain.com: 110 username@www.domain.com

anyways; when trying to check my mail I put in the username, and password, to check mail at localhost port 1337. But when I check my mail I get a

"Could not login to localhost."

"The server terminated the connection immediately"

What could be causing this?... If I use putty and outlook in windows and could check my mail just fine (But since I don't have windows installed anymore... ehh I can't check mail :-( ).

I have tried forwarding port 1338 local to 25 remote to the same server to test telnet, it it works just fine.

Please help me =-( *sniff*

PS: I'm running slackware 9.1 and SUSE 9.0, both of them will not tunnel the mail to localhost.