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@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.


--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to