agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: minsheng.bai <minsheng.bai@wellintech.com>
To: pgsql-sql <pgsql-sql@postgresql.org>
To: pgsql-sql <pgsql-sql@postgresql.org>
To: pgsql-sql <pgsql-sql@postgresql.org>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: consulting the question about the usage about SSH Tunnel function
Date: Fri, 24 Jan 2014 10:06:21 +0800
Message-ID: <201401241006209142667@wellintech.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@XXX.XXX.XXX.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@XXX.XXX.XXX.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

Attachments:

  [image/jpeg] Catch.jpg (63.8K, ../201401241006209142667@wellintech.com/3-Catch.jpg)
  download | view image

view thread (3+ messages)  latest in thread

Message-ID: <201401241006209142667@wellintech.com>
Permalink:  ../201401241006209142667@wellintech.com/
Also on:    postgresql.org/message-id/201401241006209142667@wellintech.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: minsheng.bai@wellintech.com
  Subject: Re: consulting the question about the usage about SSH Tunnel function
  In-Reply-To: <201401241006209142667@wellintech.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox