Y
Hacker News
new
|
ask
|
show
|
jobs
by
tinus_hn
1935 days ago
This actually looks pretty reasonable, I am going to look into it. First I need to figure out how to open up the server for connections but still limit it, though.
1 comments
jhauris
1935 days ago
Look at the pg_hba.conf file (probably something like /etc/postgresql/<version>/main/pg_hba.conf).
https://www.postgresql.org/docs/current/auth-pg-hba-conf.htm...
link
tinus_hn
1935 days ago
Perhaps it’s better to only listen to localhost and connect through a SSH proxy connection
link
https://www.postgresql.org/docs/current/auth-pg-hba-conf.htm...