Accessing Internal Server from Outside through SSH
- by myahya
The issue is as follows:
I am using Ubuntu Linux.
I am working from home, and I need to access a PostgreSQL database severer within my company's network. Call the DB server X. For security reasons, only one machine can be accessed from the outside using ssh, call it Y.
So the scenario is: Home <--SSH-- Y <----- X(DB)
I think something like SSH forwarding (configured in .ssh/config) could help with this, but I am not sure how to do this, any ideas?