Search This Blog

2009-12-23

PostgreSQL over SSH tunnel

17.9. Secure TCP/IP Connections with SSH Tunnels

ssh -L 3333:localhost:5432 joe@foo.com
psql -h localhost -p 3333 postgres

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.