[Nolug] Ssh tunnel question

From: Simon Dorfman <emaillists_at_simondorfman.com>
Date: Sun, 30 Apr 2006 16:38:38 -0500
Message-ID: <C07A988E.27BB0%emaillists@simondorfman.com>

Hello everyone,

I'm trying to solve an ssh tunnel problem I hope y'all can help me with.
I'm trying to reach my website via an ssh tunnel. If I ssh to my shared
server and type:
links mydomain.com

...it works fine. When I set up an ssh tunnel like so:
ssh -N -p 22 -c blowfish username@mydomain.com -L 55580/127.0.0.1/80

...and then enter 127.0.0.1:55580 in my browser, I get an error because
multiple sites are hosted on localhost, and once I'm connected to the server
no http headers are being sent to indicate what domain I'm looking up. Does
anyone know how to tweak my ssh tunnel command so it will know to go to
mydomain.com ?

Or if that's not possible, any other ideas?

Thanks,
Simon

___________________
Nolug mailing list
nolug@nolug.org
Received on 05/01/06

This archive was generated by hypermail 2.2.0 : 12/19/08 EST