From: | Евгений <j-jonny(at)yandex(dot)ru> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | ssh-agent and ~/.ssh/config |
Date: | 2016-02-25 14:26:41 |
Message-ID: | 56CF0F21.6020104@yandex.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi All.
ssh has this:
#cat ~/.ssh/config
Host host-gate
Hostname www.mysite.com #for example 155.155.155.155 (ext ip)
Port 22
User root
Host host-in
Hostname 192.168.1.100 # (int ip for example)
Port 22
User root
ProxyCommand ssh host-gate nc -w 180 %h %p
and now We can open console directrly to host-in
#ssh host-in
root(at)host-in # hostname
host-in
so we open host-in through host-gate
of course now we can do this:
#ssh -L5432:localhost:5432 host-in
and connect pgadmin to localhost on port 5432, but...
is it possibe to add functionaly to pgadmin for use ssh config file
(~/.ssh/config) and ssh-agent?, this is will be very good
Eugen.
From | Date | Subject | |
---|---|---|---|
Next Message | Evgeny Morozov | 2016-02-25 14:34:11 | SSPI authentication is confusing |
Previous Message | Joseph Marlin | 2016-02-22 22:02:38 | Re: Adding users? |