Re: BUG #3968: ssh tunnel instructions could use improvement

From: Faheem Mitha <faheem(at)email(dot)unc(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3968: ssh tunnel instructions could use improvement
Date: 2008-02-26 16:47:22
Message-ID: Pine.LNX.4.64.0802261140260.13355@orwell.homelinux.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On Tue, 26 Feb 2008, Peter Eisentraut wrote:

> Am Montag, 18. Februar 2008 schrieb Faheem Mitha:
>> ssh -L 333ssh -L 3333:foo.com:5432 joe(at)foo(dot)com
>>
>> I think this should be changed to
>>
>> ssh -L 3333:localhost:5432 joe(at)foo(dot)com
>
> Good point. Please see the updated version at
> http://developer.postgresql.org/pgdocs/postgres/ssh-tunnels.html in a few
> minutes.
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/

Hi Peter,

Thanks for agreeing to the change. Your improvements to the page look
good.

At the end, you might want to point out that in the line

ssh -L 63333:db.foo.com:5432 joe(at)shell(dot)foo(dot)com

the connection from shell.foo.com to db.foo.com will not be encrypted by
the ssh tunnel, at least according to the documentation I've read.

Take care, Faheem.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2008-02-26 18:01:51 Re: BUG #3968: ssh tunnel instructions could use improvement
Previous Message Euler Taveira de Oliveira 2008-02-26 16:45:32 Re: help me plz with 2 postgres users