We use SSH Tunnel in pgAdmin, and there have been many user requests to display more specific error messages instead of the generic error "Could not establish session to SSH gateway." For example:
- Authentication Failed – when login credentials are invalid.
- Host Resolution Error – when the tunnel host name is typed incorrectly and cannot be resolved to an IP address (currently, the error message does not indicate a DNS issue).
We use SSH Tunnel in pgAdmin, and there have been many user requests to display more specific error messages instead of the generic error "Could not establish session to SSH gateway." For example: