port forwarding and oracle

From: Chris Cheshire (ccheshire_at_bigredwire.com)
Date: 10/22/04

  • Next message: Patrice.Gonthier_at_alcatel.fr: "Re: Controlling ssh from an external program"
    Date: Thu, 21 Oct 2004 19:37:48 -0700
    To: secureshell@securityfocus.com
    
    

    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 :

    debug1: Connection to port 2521 forwarding to dbserver port 1521 requested.
    debug1: channel 3: new [direct-tcpip]
    debug1: channel 3: open confirm rwindow 131072 rmax 32768
    debug1: channel 3: read<=0 rfd 9 len 0
    debug1: channel 3: read failed
    debug1: channel 3: close_read
    debug1: channel 3: input open -> drain
    debug1: channel 3: rcvd eof
    debug1: channel 3: output open -> drain
    debug1: channel 3: obuf empty
    debug1: channel 3: close_write
    debug1: channel 3: output drain -> closed
    debug1: channel 3: ibuf empty
    debug1: channel 3: send eof
    debug1: channel 3: input drain -> closed
    debug1: channel 3: send close
    debug1: channel 3: rcvd close
    debug1: channel 3: is dead
    debug1: channel 3: garbage collecting
    debug1: channel_free: channel 3: direct-tcpip: listening port 2521 for
    dbserver port 1521, connect from 127.0.0.1 port 49818, nchannels 4

    All this happens almost immediately, and the connection takes a further
    minute or so to time out.

    Any suggestions?

    Thanks

    Chris


  • Next message: Patrice.Gonthier_at_alcatel.fr: "Re: Controlling ssh from an external program"

    Relevant Pages

    • Re: Server refusing connection.
      ... the command line through my PuTTY client, but I cannot load the URLs ... I need some assistance to figure out why my ssh server is refusing my ... debug1: read PEM private key done: type RSA ... Server listening on 0.0.0.0 port 22. ...
      (comp.security.ssh)
    • X11 forwarding help
      ... I'm using ssh to do X11 forwarding over a gateway and it seems to work fine ... debug1: Rhosts Authentication disabled, ... debug3: check_host_in_hostfile: match line 5 ... debug1: channel 0: new ...
      (SSH)
    • RE: X11 forwarding help
      ... Subject: X11 forwarding help ... debug1: Rhosts Authentication disabled, ... debug3: check_host_in_hostfile: match line 5 ... debug1: channel 0: new ...
      (SSH)
    • Tru64 Unix v5.1B SSH2D chroot environment
      ... The ssh daemon that came with the system has this feature. ... I can only imagine that the client software is ... Opened channel for session ... debug1: ssh-userauth2 successful: method password ...
      (comp.unix.tru64)
    • RE: port forwarding and oracle
      ... Objet: port forwarding and oracle ... forward the connection (using java thin client drivers) through it times ... debug1: Connection to port 2521 forwarding to dbserver port 1521 requested. ... debug1: channel 3: new ...
      (SSH)

  • Quantcast