Re: Connecting via ssh tunnel

Поиск
Список
Период
Сортировка
От Ray Stell
Тема Re: Connecting via ssh tunnel
Дата
Msg-id 20061125022154.GA513@cns.vt.edu
обсуждение исходный текст
Ответ на Re: Connecting via ssh tunnel  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Ben
Дата:
Сообщение: Re: indexes
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: indexes