akp007
asked on
tunneling set up on Solaris10 error
Dear experts
I want to have the tunnel constantly running
while [ ! -f /tmp/stop ]; do ssh -o ExitOnForwardFailure=yes -R 5432:localhost:1521 172.25.34.55 "while nc -zv localhost 1521; do sleep 5; done"; sleep 5; done
getting the error
command-line: line 0: Bad configuration option: ExitOnForwardFailure
Regards
I want to have the tunnel constantly running
while [ ! -f /tmp/stop ]; do ssh -o ExitOnForwardFailure=yes -R 5432:localhost:1521 172.25.34.55 "while nc -zv localhost 1521; do sleep 5; done"; sleep 5; done
getting the error
command-line: line 0: Bad configuration option: ExitOnForwardFailure
Regards
The ssh command on Solaris doesn't support "ExitOnForwardFailure".
ASKER
is there an other way to write that command. Appreciate your help
Regards
Regards
Take out the unsupported option.
You are creating a remote tunnel?
You are creating a remote tunnel?
ASKER
yes. I am trying to create a remote tunnel and keep that tunnel connection alive
regards
regards
Your best bet I to create a shell script that will be transmitting keep alive events through the tunnel while on the system from which the ssh connection is initiated you have a shell script that responds.
You want the system with IP 172.25 to have connection to 5432 that will connect them backto the local system's oracle listener?
Or do you need the tunnel to connect to oracle running on the 172.25 IP?
You want the system with IP 172.25 to have connection to 5432 that will connect them backto the local system's oracle listener?
Or do you need the tunnel to connect to oracle running on the 172.25 IP?
ASKER
Sorry for not responding your suggestion.
I have database running on port 1521 on 172.25.34.55
I want to connect to that 172.25.34.55 from 172.25.34.54 using tunnel . That tunnel should constantly running. that's what I am trying to achieve.
Thanks for the help
Regards
I have database running on port 1521 on 172.25.34.55
I want to connect to that 172.25.34.55 from 172.25.34.54 using tunnel . That tunnel should constantly running. that's what I am trying to achieve.
Thanks for the help
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.