Problems with port forwarding on Suse Linux 9.0

Damien Miller djm at mindrot.org
Mon Dec 1 22:55:12 EST 2003


On Mon, 2003-12-01 at 11:35, Darren Tucker wrote:
> > Trying ::1...
> > telnet: connect to address ::1: Connection refused
> 
> Try setting the forward to "-L 5599:127.0.0.1:25".  I suspect sshd is
> trying to connect to the IPv6 address of "localhost", which is refused,
> and sshd doesn't try the IPv4 address.

We should try addresses on all address families, see
channels.c::connect_to()

> suse-server> telnet localhost 25
> Trying ::1...
> telnet: connect to address ::1: Connection refused

I think the problem is telnet here, not ssh. Try "telnet 127.0.0.1 25".
Perhaps someone needs to update Linux telnet to try all addresses
returned from getaddrinfo()

-d





More information about the openssh-unix-dev mailing list