Chris Cheshire
2004-10-22 02:37:48 UTC
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 ***@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
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 ***@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