Re: Connecting via ssh tunnel

From: Jim Nasby <decibel(at)decibel(dot)org>
To: ben short <ben(at)benshort(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connecting via ssh tunnel
Date: 2006-11-27 23:09:39
Message-ID: 3BC7E158-A997-417C-A378-2BCFCF075892@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Nov 24, 2006, at 2:56 PM, ben short wrote:
> I have a postgresql server setup on a Solaris 10 box. I can connect to
> the db via psql from the local machine. What I have been trying to do
> it connect with pgAdmin from my workstation. I have setup the tunnel
> correctly, local port 5432 and destination localhost:5432. Everytime I
> try to connect I get the following message.
>
> 2006-11-24 20:42:48 ERROR : Error connecting to the server: server
> closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
>
> I havent altered the config files, so postgresql should be listening
> on localhost.

I *think* that's pointing at a pg_hba.conf issue; is there anything
in the logs?

Send *exact details* of how you're setting this up and someone might
be able to help further...
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2006-11-27 23:14:11 Re: Postgres Team: Thank You All
Previous Message John McCawley 2006-11-27 23:09:28 Re: IS it a good practice to use SERIAL as Primary Key?