• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Techgoeasy

Techgoeasy

Learn Oracle, PHP, HTML,CSS,Perl,UNIX shell scripts

  • Home
  • Oracle
    • Oracle database
    • Oracle Ebusiness Suite
    • Oracle weblogic
    • Oracle Performance Tuning
    • Oracle Hyperion
    • Oracle Cloud Tutorials
  • SQL
  • interview questions
  • Linux
  • PHP and HTML
  • Downloads
  • General
Home » Oracle » How to Create SSH Tunneling or Port Forwarding in Linux to connect with Oracle database on Cloud

How to Create SSH Tunneling or Port Forwarding in Linux to connect with Oracle database on Cloud

January 21, 2020 by techgoeasy Leave a Comment


How to Login to Oracle Cloud Database on port 1521 using SSH tunnel with Linux client

$ ssh -i private-key-file -L local-port:target-ip-address:target-port [email protected]target-ip-address

private-key-file is the path to the SSH private key file.

local-port is the number of an available port on your Linux system. Specify a port number greater than 1023 and less than 49152 to avoid conflicts with ports that are reserved for the system. As a good practice, and for the sake of simplicity, you should specify the same port number as the one to which you are creating a tunnel.

target-ip-address is the IP address of the target compute node in xyz.xyz.xyz.xyz format.

target-port is the port number to which you want to create a tunnel.

If this is the first time you are connecting to the target compute node, the ssh utility prompts you to confirm the public key. In response to the prompt, enter yes.
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

Related Articles
Port Forwarding from Putty in windows
Oracle Cloud Infrastructure
SSH Putty Commands :- 41 Useful SSH commands to help you manage the VPS /Dedicated Server
ssh passwordless:- How to Enable ssh passwordless login setup between two servers
Remote Desktop Manager : – Awesome Free Remote Desktop manager
install SSH on Ubuntu : How to install SSH on Ubuntu with Detailed steps and Problem faced


Filed Under: Oracle, Oracle cloud

Reader Interactions

Leave a Reply Cancel reply

Primary Sidebar

Top Posts & Pages

  • Oracle Indexes and types of indexes in oracle with example
  • Top 30 Most Useful Concurrent Manager Queries
  • Top 46 Oracle ASM Interview Questions
  • Oracle dba interview questions and answers
  • 40 question you must know about R12.2



Subscribe to our mailing list

Enter your email address to subscribe to this blog and receive notifications of new posts by email

Recent Posts

  • EBS PDB service name disappear from listener in 19c
  • how to download oracle e-business suite 12.2 software
  • Step by step upgrade process to R12.2 Upgrade part -2(Main Upgrade Driver for R12.2.0)
  • Step by step upgrade process for R12.2 Upgrade Part -1
  • Step by step upgrade process for R12.2 Upgrade Part -4(Applying 12.2.x Release Update Pack)

Copyright © 2021 : TechGoEasy

  • Hire me
  • Privacy Policy
  • Contact Us
  • New? Start Here
  • About Us