Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SuSE 9 Ent Ed- can't SSH 2

Status
Not open for further replies.

admoore

IS-IT--Management
Joined
May 17, 2002
Messages
224
Location
US
I have set up an Oracle learning environment on our network powered by SuSE 9 Enterprise Edition. My problem is that although I can get a SSH prompt across our LAN, I can't login, even when providing the users proper credentials.

TIA for help.

-Allen
 
By default ssh doesn't allow remote access. You need to change the sshd_config to allow access.

/etc/ssh/sshd_config
Code:
PasswordAuthentication yes

M. Brooks
 
double check your pam authentication. also you can run both ends of the ssh (ssh and sshd) with the debug options to determine where it is failing. On the server try:
Code:
sshd -d -d -d [i]<normal sshd options>[/i]
On the client then connect with:
Code:
ssh -v -v -v [i]<normal options>[/i]
and attempt to login normally.
Then go grab all the output in /var/log/messages and see where it's failing.
Or post them here and we'll see what we can find.
 
Got it!

Thanks...
 
Hi, Allen

In order to log into Oracle you need to open port 1521. This is the port the Oracle listener is on. To activate the port do the following:

1. Open YaST
2. Select FireWall
3. Select Allowed Services
4. Make sure the option under Allowed Services for Selected Zone is set to External Zone.
5. Click Advanced
6. In the text area under TCP Ports type:
1158 - This allows you to connect to Oracle from a browser on your PC.
1521 - This allows users to connect from their PCs assuming the users have the Oracle client installed and the net configuration has been set up.

This should do the trick. To see if this worked run the following command from a user's PC command prompt (with Oracle client)

tnsping <oracle server ip address>

For axample - tnsping 192.168.20.25

Please let me know if this worked.

Regards,


William Chadbourne
Oracle DBA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top