Thread: SSL and SSH port forwarding

SSL and SSH port forwarding

From
Flower Sun
Date:

Hi, group,

I have a question about postgresql security.

If postgresql is compiled with SSL support and for each connection, you are able to see the following. Do I still need to use SSH port forwarding? So the database should listen only on localhost, and any connection should be accomplished using port forwarding through an SSH tunnel? Does SSL and SSH port forwarding provide the same level of security?

Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

SSL connection (cipher: DES-CBC3-SHA, bits: 168)



Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!