Try to keep it simple first and use the -v option.

ssh -v -L 11110:mailserver:110 dave at mailserver

You will then log into the remote machine with a shell. The port
forwarding should be activated and you should see some debug messages.
When you have that working then you can add the -C and -f.



David Royer wrote:
> 
> I am trying to get a POP3 session running through SSH, but I am having
> some trouble.  I checked out the Secure-POP+SSH mini how-to but I cannot
> connect to the local forwarded port.
> 
> Here's what I am doing:
> 
> $ ssh -C -f dave at mailserver -L 11110:mailserver:110 sleep 1000
> 
> Then when I try to connect I get the following:
> 
> [dave at merlin dave]$ telnet localhost 11110
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> Connection closed by foreign host.
> [dave at merlin dave]$
> 
> Any suggestions?
> 
> Dave
> 
> -----
> "Never underestimate the bandwidth of a station wagon full of tapes
>   hurtling down the highway." -- Andrew S. Tanenbaum - Computer Networks
> 
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list