[ILUG] stunneled postgres
ago at idg.hu
Sat Sep 23 21:51:43 IST 2000
I still should use the postgres server over ssl. I ran the following
stunnel -c -n pgsql -r 18.104.22.168:65432
then I tried to connect to the server :
psql -h 22.214.171.124 -p 65432 -u teahouse
After that it asks for username and password. I enter it and get the
following message :
Connection to database 'teahouse' failed.
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
Does it mean that I used stunnel with wrong parameters or the same with
psql ? Or the username and password was incorrect ? When I just type psql
-h 126.96.36.199 -p 65432 I got the following error as above plus one
line : Connection to database 'template1' failed. Any docs, unofficial
HOWTOs are welcomed. I've read trough the whole stunnel man. Maybe I was
to dumb to got it.
More information about the ILUG