Problems with SSH / telnet


 
Thread Tools Search this Thread
Operating Systems AIX Problems with SSH / telnet
# 1  
Old 10-14-2008
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
# 2  
Old 10-14-2008
Many servers dont allow root connection except from console...
Have you checked? What OS?
# 3  
Old 10-14-2008
I use IBM AIX 5.3 as OS.
# 4  
Old 10-15-2008
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.
# 5  
Old 10-15-2008
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
# 6  
Old 10-15-2008
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!
# 7  
Old 10-15-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

networking problems with ftp,telnet, ssh, http

I have following problems with RHEL 5.2 Desktop installation ftp, telnet, ssh and web are not working. Web browser tries to connect to host but eventually fail with timeout. ftp, telnet and ssh simply hung, nothing happens. Basically all protocols will end up in timeout. ping, nslookup and... (2 Replies)
Discussion started by: Kainu
2 Replies

2. Shell Programming and Scripting

TELNET to SSH

Hi All, I was implementing a change of TELNET to SSH connectivity, and finding it tough at a point where I was connecting to another unix server through TELNET. ( ps -ef |grep abcd) | TELNET x.xx.xxx.xx now I when I tried to replace TELNET with SSH, i am not able to connect. ( ps -ef... (1 Reply)
Discussion started by: pranavagarwal
1 Replies

3. UNIX for Dummies Questions & Answers

Telnet and ssh in a script

dear all, I know that this question has been asked before frequently, but I really don't get it. My question is composed of several ones. First:To telnet through a script, I was told to use the way described below, and it works for me, but i don't understand the syntax here.... (3 Replies)
Discussion started by: marwan
3 Replies

4. UNIX for Dummies Questions & Answers

like ssh telnet

I want to learn some commands like ssh, telnet and others where i can be tease. thanks for help... (2 Replies)
Discussion started by: Kostantinos
2 Replies

5. UNIX for Advanced & Expert Users

about ssh and telnet

I amn't advance but i want to learn some commands where here you can help me. i don't learn easy commands but i learn if its good experience and interesting. I want to learn about ssh, telnet and how i can be miff ( i don't speek good english but i hope to understant me) thanks for any help... (1 Reply)
Discussion started by: Kostantinos
1 Replies

6. UNIX for Dummies Questions & Answers

Running Script from Telnet - Problems

...so I read "The Pragmatic Programmer" and they stressed the value of learning shell scripting! I'm in a UNIX environment but have a Windows XP workstation. I'm using Telnet to issue UNIX commands. I've done plenty of chmod's, command line ftp and stuff, but written no scripts to this point.... (1 Reply)
Discussion started by: pauljohn
1 Replies

7. UNIX for Dummies Questions & Answers

Problems with telnet.

Hi Guys! I'm trying to connect to a regatta IBM (Sun 5.8) from my recently installed Sun Blazer, but I got the following: % telnet regatta Trying 167.164.87.8 Connected to regatta Escape character is '^]' Connection closed by foreign host % Do you have any idea what the problem is?... (2 Replies)
Discussion started by: cordobapablo
2 Replies

8. UNIX for Dummies Questions & Answers

Problems with Telnet

Hi everybody I already have installed Linux Red Hat FC4 in two machines into the same net using DHCP in both of them, the network interface are working fine cuz i can surf in Internet in those machines The problem is i need to do a Telnet from one host to the other, the xinetd and telnet... (1 Reply)
Discussion started by: Lestat
1 Replies

9. UNIX for Dummies Questions & Answers

Unix SCO 5.0.6 Telnet Problems

Hello there . I have a unix box 5.0.06 , this is the error (Telnetd: All networks ports in use . Can anyone tellme how to resolve this problem. Thanks a lot . (2 Replies)
Discussion started by: josramon
2 Replies

10. UNIX for Dummies Questions & Answers

SCO openserver 5.0.6 Telnet Problems

Hi guys, Please bear with me i have a sco 5.0.6 openserver i'm telnet in to it. (via dsl) After 7 minutes it will kick me out of my program. Is there any settings that i need to change in order to stop the time out problem. I dont have any router or hub (dsl modem to nic card ) Also... (6 Replies)
Discussion started by: josramon
6 Replies
Login or Register to Ask a Question