From: | Doug McNaught <doug(at)mcnaught(dot)org> |
---|---|
To: | craig(at)coot(dot)net |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ssh tunnel problem |
Date: | 2002-11-19 21:10:26 |
Message-ID: | m33cpxl0zh.fsf@varsoon.wireboard.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Craig H. Anderson" <craig(at)coot(dot)net> writes:
> I am trying to use psql over an ssh tunnel for the first time.
>
> I am able to login to the remote system with
> $ ssh 216.38.48.94
>
> I can use psql logged into the remote system
> as the username.
>
> Here is a log:
>
> $ ssh -N -f -L 5430:216.38.48.94:5432 username(at)216(dot)38(dot)48(dot)94 $ psql
> --host localhost --port 5430 --username username --dbname template1
> channel 1: open failed: connect failed: Connection timed out psql:
> could not receive server response to SSL negotiation packet: Success
> Can anyone explain what is the problem?
> I did not expect that ssl would be used over the SSH port forward.
That does seem odd. Check your pg-hba.conf entries on the server.
Remember that the connection on the server side will appear to be
coming from 127.0.0.1 (I *think* that's how SSH port forwarding
works)...
-Doug
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Tille | 2002-11-19 21:27:15 | Handling images using Python |
Previous Message | Medi Montaseri | 2002-11-19 20:37:02 | Re: Update table with max occurance from another table |