Access an Oracle Cloud Service Using SSH
You can configure a job to use SSH to access any Oracle Cloud service instances that has SSH enabled, such as Oracle Cloud Infrastructure Compute Classic VMs.
-
Create an SSH tunnel to access a process running on a remote system, including an on-premise system, via the SSH port. The SSH tunnel is created at the start of the build job and is destroyed automatically when the job finishes.
-
Set up the default
~/.ssh
directory with the provided keys in the build’s workspace for use with the command-line tools. The modifications revert after the job finishes.
To connect to the Oracle Cloud service instance, you need IP address of the server, credentials of a user who can connect to the service instance, and local and remote port numbers: