linux :: xunil

Collected linux snippets

Sunday, July 02, 2006

SSH tunnel

I needed to connect to a remote Postgres server and the serveradmin was appropriately reluctant to open up post 5432.

Simple solution was to create an ssh tunnel. I'm running a Postgres server locally, so I didn't want to forward port 5432 to the remote machine.
ssh -L5431:localhost:5432 server.with.the.postgres.db
Posted by Unknown at 11:12 pm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (9)
    • ►  April (1)
    • ►  March (2)
    • ►  February (6)
  • ►  2010 (7)
    • ►  September (2)
    • ►  July (1)
    • ►  June (3)
    • ►  May (1)
  • ►  2009 (8)
    • ►  December (1)
    • ►  September (2)
    • ►  August (4)
    • ►  June (1)
  • ►  2008 (19)
    • ►  December (2)
    • ►  November (2)
    • ►  October (3)
    • ►  September (1)
    • ►  August (2)
    • ►  July (5)
    • ►  June (1)
    • ►  March (2)
    • ►  February (1)
  • ►  2007 (35)
    • ►  December (5)
    • ►  November (3)
    • ►  September (2)
    • ►  August (2)
    • ►  July (1)
    • ►  June (1)
    • ►  May (4)
    • ►  February (3)
    • ►  January (14)
  • ▼  2006 (26)
    • ►  December (2)
    • ►  November (5)
    • ►  October (2)
    • ►  September (4)
    • ►  August (1)
    • ▼  July (4)
      • Plesk and open_basedir
      • Hosting solution
      • SSH tunnel
      • Postgres 7.4
    • ►  June (7)
    • ►  May (1)

About Me

Unknown
View my complete profile
Awesome Inc. theme. Theme images by fpm. Powered by Blogger.