failing to achive tunneling to fresh ubuntu 10.04 server

Posted by user65297 on Server Fault See other posts from Server Fault or by user65297
Published on 2011-01-02T20:21:15Z Indexed on 2011/01/02 20:55 UTC
Read the original article Hit count: 336

Filed under:
|
|

I've just set up a new 10.04 server and can't get the tunneling to work.

local machine

> ssh -L 9090:localhost:9090 [email protected]

login success, but thereafter trying tunnel from local browser, http://127.0.0.1:9090

echo at server terminal:

channel 3: open failed: connect failed: Connection refused

auth.log sshd[24502]: error: connect_to localhost port 9090: failed.

iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination

Chain FORWARD (policy ACCEPT) target prot opt source destination

Chain OUTPUT (policy ACCEPT) target prot opt source destination

Trying 9090 at server (links http://xx.xxx.xx.xx:9090 works)

sshd_config is identical to previous 8.04 server, working fine.

What's going on? Thankful for any input.

Regards,

//t

© Server Fault or respective owner

Related posts about ubuntu

Related posts about configuration