From: | minsheng(dot)bai <minsheng(dot)bai(at)wellintech(dot)com> |
---|---|
To: | pgsql-sql <pgsql-sql(at)postgresql(dot)org>, pgsql-sql <pgsql-sql(at)postgresql(dot)org>, pgsql-sql <pgsql-sql(at)postgresql(dot)org>, pgsql-sql <pgsql-sql(at)postgresql(dot)org> |
Subject: | consulting the question about the usage about SSH Tunnel function |
Date: | 2014-01-24 02:06:21 |
Message-ID: | 201401241006209142667@wellintech.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
dear all
i have realized the SSH Tunnel function in the PostgreSQL.i did some work as follow:
at the server side:
1.setup and configure the openssh
2.start opensshd
3.setup and deploy PostgreSQL
at the client side:
1.setup openssh
2.execute command:ssh -L5555:localhost:5432 Administrator(at)XXX(dot)XXX(dot)XXX(dot)XXX(the server IP)
3.use psql or pgAdmin to connect the server.
i succeed.
but i have a question:
if i do not execute command:ssh -L5555:localhost:5432 Administrator(at)XXX(dot)XXX(dot)XXX(dot)XXX
but i config the SSH Tunnel tab in the pgAdmin,as follow:
whether i can connect the server or not .the result i try is failed.
anyone can help me? thanks a lot.
minsheng.bai
From | Date | Subject | |
---|---|---|---|
Next Message | Emi Lu | 2014-01-24 15:55:57 | find all views depend on a schema/table |
Previous Message | Marc Mamin | 2014-01-22 17:33:28 | Re: Deferrable conditional unique constraints |