Re: Connecting via ssh tunnel - Mailing list pgsql-general

From Ray Stell
Subject Re: Connecting via ssh tunnel
Date
Msg-id 20061125022154.GA513@cns.vt.edu
Whole thread Raw
In response to Re: Connecting via ssh tunnel  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Fri, Nov 24, 2006 at 04:42:56PM -0500, Tom Lane wrote:
>
> Surely that is not a correct tunnel setup ... you can't have both ends
> being the same port number on the same machine.  There Can Be Only One
> process listening on a given port per machine.


I think he is refering the -L option of ssh that specifies that the given
port on the local (client) host is to be forwarded to the given host and
port on the remote side.  I do this on a test web server all the time:
-L8080:localhost:8080 If I enter the url localhost:8080 in the browser
it is forwarded on to the remote via the ssh tunnel.

pgsql-general by date:

Previous
From: Ben
Date:
Subject: Re: indexes
Next
From: Ron Johnson
Date:
Subject: Re: indexes