consulting the question about the usage about SSH Tunnel settings

From: minsheng(dot)bai <minsheng(dot)bai(at)wellintech(dot)com>
To: pgadmin-support <pgadmin-support(at)postgresql(dot)org>
Subject: consulting the question about the usage about SSH Tunnel settings
Date: 2014-01-26 07:12:40
Message-ID: 2014012615123983839624@wellintech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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.(dont configure ssh tunnel settings of pgAdmin)
i succeed.
but i have a question:
if i configure ssh tunnel settings of pgAdmin as follows:

172.16.9.102 is the remote server ip,i connect the server failed,i get error:

When should i use these settings?can anyone make an example for me?

minsheng.bai

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2014-01-26 10:08:13 Re: consulting the question about the usage about SSH Tunnel settings
Previous Message Devon Oslund 2014-01-23 19:08:00 Re: Connect to server silently fails with no error message