HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

PGAdmin3 connection with non standard SSH port and SSH tunnel

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
pgadmin3nonwithstandardtunnelportandsshconnection

Problem

Hi I am trying to connect to Postgres from pgAdmin3 using SSH tunneling. However I am not using standard port 22. How can I do SSH tunneling using a non standard port?

Solution

You could setup the ssh connection and tunnel outside pgAdmin and just let pgAdmin connect to the localport.

On windows you could use putty for this on unixes you can use ssh

If you use 15432 as localport then you can let pgAdmin connect to localhost with port 15432 and you leave the SSH tunnel option in pgAdmin OFF!

Context

StackExchange Database Administrators Q#61163, answer score: 6

Revisions (0)

No revisions yet.