Creating an SSH Tunnel to a Compute Node Port
To create an SSH tunnel to a port on a compute node associated with Oracle Database Classic Cloud Service, you use Secure Shell (SSH) client software that supports tunneling.
Several SSH clients that support tunneling are freely available. The following sections show how to use SSH clients on the Linux and Windows platforms to connect to a compute node using an SSH tunnel.
Creating an SSH Tunnel Using the ssh Utility on Linux
The Linux platform includes the ssh utility, an SSH client that supports SSH tunneling.
Before you use the ssh utility to create an SSH tunnel, you need the following:
-
The IP address of the target compute node.
The IP addresses associated with a database deployment on Oracle Database Classic Cloud Service are listed on the details page associated with the database deployment. See Viewing Detailed Information for a Database Deployment.
-
The SSH private key file that pairs with the public key used during the database deployment creation process.
-
The port number for which you want to create an SSH tunnel.
After the SSH tunnel is created, you can access the port on the target compute node by specifying localhost:
local-port
on your Linux system.
Creating an SSH Tunnel Using the PuTTY Program on Windows
PuTTY is a freely available SSH client program for Windows that supports SSH tunneling.
Before you use the ssh utility to create an SSH tunnel, you need the following:
-
The IP address of the target compute node.
The IP addresses associated with a database deployment on Oracle Database Classic Cloud Service are listed on the details page associated with the database deployment. See Viewing Detailed Information for a Database Deployment.
-
The SSH private key file that pairs with the public key used during the database deployment creation process.
-
The port number for which you want to create an SSH tunnel.
After the SSH tunnel is created, you can access the port on the target compute node by specifying localhost:
local-port
on your system, where local-port
is the source port that you specified when creating the tunnel.