On the remote server, type:
grep -i AllowTcpForwarding /etc/ssh/sshd_config
If you don't see:
AllowTcpForwarding yes
Then tweak the value and restart the sshd servie.
Main Topics
Browse All TopicsHi all,
I want to connect TOAD to Oracle through a firewall (on Unix server behind firewall) using SSH.
I have Oracle 9i client on local windows XP pc.
I am using SSH Tectia client (latest commercial version).
I created a remote tunnel of type TCP with local and destination port to 1521.
I can connect ssh on port 22 through Tectia client to the Unix box, but in the log it fails to create the tunnel.
Do I need a oracle server on my local pc to make this work?
Which port should I run locally, as I think 1521 local might be wrong.
Any help please?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Likely, I am misunderstanding. Connecting with SQL*Net from a TOAD client into a target database goes through the Oracle listener process (which passes the connect request to the appropriate instance). The Oracle username/password authentication is internal to the database, and has nothing to do with the host authentication nor a host user session.
I am willing to learn something entirely new, barnap, but my advice is you cannot do what you say you want to do. Secure Shell authentication is only for client to server.
arober11, I dont have access to admin the unix box.
dvz, according to toadsoft this is possible: from the toad help file:
Using Toad with a Firewall
You can connect Toad to Oracle through a firewall using the SSH© Secure Shell" software, version 2.4.0. Other software may work, but has not been tested with Toad. In order for Toad to remain connected, both the SSH tunnel and client must be running.
To connect through a firewall
From the main SSH Secure Shell screen, select the profile/edit profile menu button.
From the tabs on the right panel of the Profiles window, select Outgoing Tunneling.
Click Edit. Enter tunnel information in the Edit Outgoing Tunnel dialog box.
Edit your Tnsnames.ora file as follows
NOTE: Make sure to correct the port to the one you used when setting up your tunnel.
add (server=dedicated)
CADEV.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 11521))
)
(CONNECT_DATA =
(SID = cadev)
(server=dedicated)
)
)
Start an SSH client and connect to Toad.
Business Accounts
Answer for Membership
by: barnarpPosted on 2009-09-18 at 06:46:54ID: 25365866
250 worth.