The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running Script from Telnet - Problems pauljohn UNIX for Dummies Questions & Answers 1 10-03-2006 01:58 PM
Problems with telnet. cordobapablo UNIX for Dummies Questions & Answers 2 10-17-2005 10:22 AM
Problems with Telnet Lestat UNIX for Dummies Questions & Answers 1 07-22-2005 06:28 PM
Unix SCO 5.0.6 Telnet Problems josramon UNIX for Dummies Questions & Answers 2 03-09-2004 05:28 PM
SCO openserver 5.0.6 Telnet Problems josramon UNIX for Dummies Questions & Answers 6 06-05-2003 10:11 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-14-2008
Registered User
 

Join Date: Aug 2008
Location: Belgium
Posts: 13
Problems with SSH / telnet

Hey,

I have upgraded 3 servers from SSH Tectia 4.0.3 to SSH Tectia 6.0.2. 2 of them are working fine but one server suddenly began to have troubles after about 2 hours. Now it is impossible to login to this server using SSH and even telnet. When SSH is running on this particular server, the CPU of the server is at it's maximum because of the SSH processes, which is not the case on the other 2 servers. Currently I have shut down the SSH processes on the server.

Then, when I try to make a connection using telnet it immediatly replies: 'Connection closed'. The strange fact however is that telnet refuses a connection done by the root user, but if I try it using another user, telnet works fine. (SSH doen't work in either case though) Restarting and even reinstalling SSH also didn't work. After SSH was uninstalled I tried another telnet connection but still it didn't work.

I've checked /etc/security/user, because of the telnet/root problem, but everything looks identical to the configuration of the other 2 servers. Can anyone help me with this problem?

Thank you
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-14-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,278
Many servers dont allow root connection except from console...
Have you checked? What OS?
Reply With Quote
  #3 (permalink)  
Old 10-14-2008
Registered User
 

Join Date: Aug 2008
Location: Belgium
Posts: 13
I use IBM AIX 5.3 as OS.
Reply With Quote
  #4 (permalink)  
Old 10-15-2008
Registered User
 

Join Date: Aug 2008
Location: Belgium
Posts: 13
I have removed the new SSH version and replaced it again with the old version. Some of the problems are fixed. SSH is possible again, but not for the root user. Telnet also works but again, not for the root user.

When trying a SSH connection as root the following error occures:
Authentication successful.
Received signal 11. (no core)

After this error the connection failes again. Does anyone has an idea of what this problem might be?

Thanks.
Reply With Quote
  #5 (permalink)  
Old 10-15-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,278
Since your issue seems to be more AIX specific, I will if you agree move your post to that group...
Ah, but can root connect from the console?

All the best
Reply With Quote
  #6 (permalink)  
Old 10-15-2008
Registered User
 

Join Date: Aug 2008
Location: Belgium
Posts: 13
From inside the server I can connect to the outside with ssh as root. Strangely enough from the outside it is impossible to enter that server with both ssh or telnet as root. It's like root has no permission to enter that particular server.

Everytime I try to connect the following error occures: Received signal 11. (no core). The authentication however does succeed.

Here's the output of using ssh -v:

warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
debug: Ssh2/ssh2.c:1848: User config file not found, using defaults. (Looked for '//.ssh2/ssh2_config')
debug: Connecting to server1, port 22... (SOCKS not used)
debug: client supports 3 auth methods: 'publickey,keyboard-interactive,password'
debug: Remote version: SSH-2.0-4.0.5.5 SSH Secure Shell
debug: Major: 4 Minor: 0 Revision: 5
debug: SshProtoTransport/trcommon.c:1464: lang s to c: `', lang c to s: `'
debug: SshProtoTransport/trcommon.c:1530: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none
debug: SshProtoTransport/trcommon.c:1533: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Remote host key found from database.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1733: Starting pubkey auth...
debug: SshUnixUserFiles/sshunixuserfiles.c:354: Using '//.ssh2/identification' as identity file.
debug: Constructing and sending signature in publickey authentication.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:725: reading private key //.ssh2/id_server1
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1822: Public key authentication was successful.
Authentication successful.

Received signal 11. (no core)
debug: Got session close with exit_status=255
Connection to server1 closed.


And yes it's fine if you export it to the AIX group.

Thanks!
Reply With Quote
  #7 (permalink)  
Old 10-15-2008
Registered User
 

Join Date: Aug 2008
Location: Belgium
Posts: 13
Another fact I forgot to mention:
If I try "ssh server1" it fails.
If i try "ssh server1 ls", strangely enough it works...
So root can in fact connect to that server, but just can't logon to it.

Greetings.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 06:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66