Re: consulting the question about the usage about SSH Tunnel function - Mailing list pgsql-sql

From Adrian Klaver
Subject Re: consulting the question about the usage about SSH Tunnel function
Date
Msg-id [email protected]
Whole thread Raw
In response to consulting the question about the usage about SSH Tunnel function  (minsheng.bai <[email protected]>)
List pgsql-sql
On 01/23/2014 06:06 PM, minsheng.bai wrote:
> 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 
> [email protected](the 
> <mailto:[email protected]%28the> 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 
> [email protected] <mailto:[email protected]>
> 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.

Well I am not seeing anything that allows you to specify the port that
ssh is listening on at localhost. In the shot in the dark department you
might try:

localhost:5555

> ------------------------------------------------------------------------
> minsheng.bai


-- 
Adrian Klaver
[email protected]



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: find all views depend on a schema/table
Next
From: Adrian Klaver
Date:
Subject: Re: consulting the question about the usage about SSH Tunnel function