Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1047721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:20:45+00:00 2026-05-16T16:20:45+00:00

I have SSH access to ‘public’ server, which is also the gateway to company

  • 0

I have SSH access to ‘public’ server, which is also the gateway to company network. There is another server in the network, where local Oracle Database server is running (There is no access from outside of this server, only localhost DB connections are accepted). And of course, I have another SSH access to this server.

Is there any way to join to this Oracle Database 11g Server from outside of the network ?
I am asking if there is something like ssh tunnel chain, and how i configure it.
This can be usefull, for example, for TOAD for Oracle (ORACLE client).

EDIT: Here is image

alt text
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:20:46+00:00Added an answer on May 16, 2026 at 4:20 pm

    Yes, it’s possible. E.g. on Linux, run

    ssh -N -Llocalport:dbserver:dbport yourname@connectionserver
    

    where

    • localport is the port on your machine which will be forwarded (can be 1521 if there is no local instance of oracle running)
    • dbserver is the name or IP of the database server
    • dbport is the port of the database (usually 1521)
    • yourname is the login on the connectionserver
    • connectionserver is the machine where you have ssh access

    The same can be done on Windows using Plink (which comes with Putty):

    plink -N -L localport:dbserver:dbport yourname@connectionserver
    

    Do this on both machines (your local machine and the server you have access to) to chain the ssh tunnels. Example:

    Connection server (assuming Linux):

    ssh -N -L1521:dbserver:1521 dblogin@dbserver
    

    Your PC:

    plink -N -L 1521:connectionserver:1521 connlogin@connectionserver
    

    The tnsnames.ora entry must look like you are running a local database, e.g.

    prodoverssh =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = prod)
        )
      )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have Magento set up on a development server (remote, SSH access) and
If I have SSH access to a shared server (running centOS) and I want
I have the project in the remote server and i have only ssh access.
My campus only lets ssh access through a gateway server. So to access the
When I don't have SSH access to a server, I usually download stuff over
I have a VPS server and a client is asking for SSH access on
I found JSCH library for SSH access, I have a socket: Socket socket =
I have a windows 2003 box with an ssh server setup. I have msysgit
I have a public/private key pair set up so I can ssh to a
I'm currently in a situation where I have very limited access to a server,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.