I have a database running on a server (lets call it server A) on port 1522. I want to connect my client to this server A but the ports are not open. I have ssh access to another server (server B) which has connectivity open.
Is there any way where I can use server B as the proxy server and connect the database client from laptop to the database server?
Goal: Laptop MAC OS ===[JDBC]===> DB Server A
Current Access: Laptop MAC OS ===[ssh access]===> Server B ===[JDBC]===> DB Server A
Mac: OS 10.14.1
Server B: SLES 12 OpenSSH_7.2p2 (complete access to the server)
Server A: Oracle DB (only JDBC connectivity from server B)