Re: ssh port forwarding for telnet does not work?
From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 10 Jun 2005 15:41:33 +0100 (BST)
>ssh -L 9000:host2:23 test@host2
> -- this statement works and come back asking me to login the
>telnet localhost 9000
> returns telnet:unable to connect to remote host:connection refused.
You have actually logged in in the SSH session, before trying to use the
forwarded port, right?