Mac Problem with Tunneling...

From: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
To: PostgreSQL - General <pgsql-general(at)postgresql(dot)org>
Cc: macosx-admin(at)omnigroup(dot)com
Subject: Mac Problem with Tunneling...
Date: 2006-05-13 21:41:58
Message-ID: 16C849C3-ADE8-4BDC-A2B9-5113890016D2@eku.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
On my linux box I can issue the command

ssh -L 5555:macjerry:5432 -l jerry macjerry

This will create a "tunnel" to connect to my
mac named "macjerrry".

I can connect to databases on macjerry via psql
by specifying port 5555 on my linux box and other postgresql
front ends.

How ever if I turn it around, and on the mac issue
the command

ssh -L 6666:linuxbox:5432 -l jerry linuxbox

Then I am not able to connect to the linux box
via psql or any Gui front ends.

I get an error:

[jerry(at)localhost ~]$ channel 3: open failed: administratively
prohibited: open failed
channel 3: open failed: administratively prohibited: open failed

No errors appear in the server log on the linux box.

I am new to ssh, have I overlooked something?

Jerry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-05-13 22:18:55 Re: Mac Problem with Tunneling...
Previous Message Martijn van Oosterhout 2006-05-13 21:18:10 Re: INSERT RULE doesn't allow OLD, so how does one work with serial datatypes?