Re: [Nolug] Ssh tunnel question

From: Scott Harney <scotth_at_scottharney.com>
Date: Mon, 01 May 2006 17:11:27 -0500
Message-ID: <4456878F.9030302@scottharney.com>

Simon Dorfman wrote:

edit /etc/hosts on 127.0.0.1 and add your hostname aliases there.

then browse to aliasname:55580

Of course the aliasname must equal an apache NameVirtualHost container.

> 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
>

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

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