Re: port forwarding and oracle
From: Jesse Waters (jwaters_at_triad.rr.com)
Date: 10/26/04
- Previous message: lpinto_at_home-pt.net: "Problems With SFTP in AIX"
- In reply to: Chris Cheshire: "port forwarding and oracle"
- Next in thread: David Roman Esteban: "Re: port forwarding and oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 26 Oct 2004 06:10:06 -0400 To: Chris Cheshire <ccheshire@bigredwire.com>
Chris Cheshire wrote:
> Has anyone got port forwarding to work with an oracle database?
>
> I have OpenSSH 3.9p1 on my database server (Oracle 8i running Solaris
> 2.6) and my client is a PowerBook (running OSX 10.3.5) with OpenSSH
> 3.6p1 (I wish apple would update this) and when I try to set up the
> port forward the connection (using java thin client drivers) through
> it times out. Running the following from the client :
>
> ssh -v -L 2521:dbserver:1521 user@dbserver
>
> connects successfully and starts up a shell and then when I connect
> using the java thin client () I get :
>
this should do what your looking for,
ssh -v -L 2521:localhost:1521 user@dbserver
I'm assuming your using a dns name to resolve "dbserver". You don't want
to send traffic back out to another possible host, just keep it on the
localhost of the Host Server you are connecting to. If this is a
question about allowing remote db software clients connect to the server
then you might want to check your configs to see what needs to be
changed to allow this behavior without tunneling (unless its exposed to
the internet).
HTH,
Jesse Waters
- Previous message: lpinto_at_home-pt.net: "Problems With SFTP in AIX"
- In reply to: Chris Cheshire: "port forwarding and oracle"
- Next in thread: David Roman Esteban: "Re: port forwarding and oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|