Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 23C459FB64A for ; Mon, 5 Mar 2007 19:57:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 35416-04 for ; Mon, 5 Mar 2007 19:57:33 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id 2452D9FB576 for ; Mon, 5 Mar 2007 19:57:32 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so2302707nfb for ; Mon, 05 Mar 2007 15:57:31 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bwaS7uknsiJLgdZS6UK420205ljIsLDesE+RZch/2UFqnJ9butnIIRcIsETIW4ZMmupK4p3jN5Y8obfIbNw0huzxvedQeyr8uCi5riyIvF1i4yOX/Ezzm9JQm/yP/E64Kvva1eIbSqhLSzencxJkwXTVsEeK6ybhefnmvN1P5ds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=S0y5+qKOK+7xwzX8C+o4v/deB966XOuQT+yZuYS7OaXHQoDWZ20/hSYH5hzGk0+jlCMYKrY3oCQnAv47D0H+zj0Fs+RkLyQEJSQ7ZuA5iNO8d0ZS69555b3WjJepzkA0HygKrTxAzsOa+Pnb8jPVXeNUuEhqJRH5ofwJEXvdczo= Received: by 10.78.138.6 with SMTP id l6mr717686hud.1173139051381; Mon, 05 Mar 2007 15:57:31 -0800 (PST) Received: by 10.78.13.11 with HTTP; Mon, 5 Mar 2007 15:57:31 -0800 (PST) Message-ID: Date: Tue, 6 Mar 2007 00:57:31 +0100 From: "Moritz Bayer" To: "Phillip Smith" Subject: Re: pg_hba.conf & putty Cc: pgsql-admin@postgresql.org In-Reply-To: <008701c75f7f$f5467830$9b0014ac@wbaus090> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_107921_22373536.1173139051333" References: <008701c75f7f$f5467830$9b0014ac@wbaus090> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/16 X-Sequence-Number: 24840 ------=_Part_107921_22373536.1173139051333 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hello phillip, yes, the connection i defined in pgadmin uses localhost:5432. Still, no success :( 2007/3/6, Phillip Smith : > > What address are you connecting to on your desktop computer? You should > be using localhost:5432 which putty will redirect to the server via the SSH > tunnel and the server will connect to PostgreSQL on your behalf. > > > > ~p > > > > -----Original Message----- > *From:* pgsql-admin-owner@postgresql.org [mailto: > pgsql-admin-owner@postgresql.org] *On Behalf Of *Moritz Bayer > *Sent:* Tuesday, 6 March 2007 10:31 > *To:* pgsql-admin@postgresql.org > *Subject:* [ADMIN] pg_hba.conf & putty > > > > dear list, > > I know there are already hunderts of posts about pg_hba.conf, but still > after reading a few of them I still got troubles with this topic. > > I've got a vpn server with a ststic ip address, java apps are supposed to > run there receiving data from a postgresql database. > The database is running, but for changes on it I want to open a putty > connection while using pgAdmin. > In putty, I define a tunnel to port 5432, its displayed like this: > Lserver.ip.address:5432 > > Thought this entries in my pg_hba.conf would do it: > > # "local" is for Unix domain socket connections only > local all all md5 > > # IPv4 local connections: > host all all 127.0.0.1/32 md5 > > # IPv6 local connections: > host all all ::1/128 md5 > > well, it doesn't. When i run pgAdmin with an open putty connection, it > still says: error connecting to server. > > Any hints how I can find out whats still wrong? > > Thanks in advance, > Mo > > ********************Confidentiality and Privilege > Notice******************** > > The material contained in this message is privileged and confidential to > the addressee. If you are not the addressee indicated in this message or > responsible for delivery of the message to such person, you may not copy or > deliver this message to anyone, and you should destroy it and kindly notify > the sender by reply email. > > Information in this message that does not relate to the official business > of Weatherbeeta must be treated as neither given nor endorsed by > Weatherbeeta. Weatherbeeta, its employees, contractors or associates shall > not be liable for direct, indirect or consequential loss arising from > transmission of this message or any attachments > > ------=_Part_107921_22373536.1173139051333 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hello phillip,
 
yes, the connection i defined in pgadmin uses localhost:5432.

Still, no success :(





2007/3/6, Phillip Smith < phillip.smith@weatherbeeta.com.au>:

What address are you connecting to on your desktop computer? You should be using localhost:5432 which putty will redirect to the server via the SSH tunnel and the server will connect to PostgreSQL on your behalf.

 

~p

 

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto: pgsql-admin-owner@postgresql.org] On Behalf Of Moritz Bayer
Sent: Tuesday, 6 March 2007 10:31
To: pgsql-admin@postgresql.org
Subject: [ADMIN] pg_hba.conf & putty

 

dear list,

I know there are already hunderts of posts about pg_hba.conf, but still after reading a few of them I still got troubles with this topic.

I've got a vpn server  with a ststic ip address, java apps are supposed to run there receiving data from a postgresql database.
The database is running, but for changes on it I want to open a putty connection while using pgAdmin.
In putty, I define a tunnel to port 5432, its displayed like this: Lserver.ip.address:5432

Thought this entries in my pg_hba.conf would do it:

# "local" is for Unix domain socket connections only
local   all         all                               md5

# IPv4 local connections:
host    all         all         127.0.0.1/32          md5

# IPv6 local connections:
host    all         all         ::1/128               md5

well, it doesn't. When i run  pgAdmin with an open  putty connection, it still says: error connecting to server.

Any hints how I can find out whats still wrong?

Thanks in advance,
Mo


*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to the addressee. If you are not the addressee indicated in this message or responsible for delivery of the message to such person, you may not copy or deliver this message to anyone, and you should destroy it and kindly notify the sender by reply email.

Information in this message that does not relate to the official business of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta. Weatherbeeta, its employees, contractors or associates shall not be liable for direct, indirect or consequential loss arising from transmission of this message or any attachments


------=_Part_107921_22373536.1173139051333--