Redhat server is not connected via putty

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Redhat server is not connected via putty
# 1  
Old 11-01-2012
Redhat server is not connected via putty

i have a redhat linux 5.3 machine.

i can ping that machine remotely from my laptop.

but when i connect that server via putty after providing username and password there is wait for some minutes and then i get error message

"server unexpectedly closed network connection"

Please guide me to resolve.
# 2  
Old 11-01-2012
As always check /var/log/messages for errors, but for authentication-specific errors, you can check /var/log/secure for a log entry around the time of a login attempt.

You can check these files if you can get console onto the machine, if that's not possible, you may have to reboot it, then boot into single user mode and check them. Failing that, boot into rescue mode from the installation DVD. (Type "linux rescue" at the "boot: " prompt) once you can see the the log files you'll see what's going on.

Chances are it's an issue with the PAM stack (after validating your credentials, really the only thing it does is run the PAM session modules then spawn your shell). Since I can't imagine BASH doing that to you, that narrows it down.

Do you know if you did any work on the PAM stack recently? Also, are the credentials you're using dependent on some sort of daemon (like with winbind)? I know sometimes I would see similar behavior and restarting the winbind daemon resolved the issue (3.5 winbind is barely production ready, which is why people are so interested in version 4 coming out soon).
# 3  
Old 11-02-2012
Hi,

Is your network configured correctly.

How are you trying to connect is it via telnet or ssh. Please ensure that the service you are using is up and running. Also have a look at the logs. If you are tying to connect via ssh ( assuming ssh is running ) as root , ensure PermitRootLogin in /etc/ssh/sshd_config is set to yes.

Logs /var/log/messages and secure are the best place to look for.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Sun Ray 3 UNIX Lab not connected to Solaris 10 Server

All 30 of my students in the Linux Lab here at school have the same message showing on their screen when they try to log into the server. How can we Authenticate the Server and fix the missing specific parameters on the Solaris Server to fix this issue ?? (6 Replies)
Discussion started by: mwilliams21z
6 Replies

2. Solaris

How to run putty.exe file in server?

Hi, I want to run putty.exe in Solaris server.My main aim is to invoke the putty.exe in Solaris server from a web application(.jsp) deployed in the server so that putty terminal should open. Thanks in advance (11 Replies)
Discussion started by: chaithanyaa
11 Replies

3. Red Hat

I cannot connect my redhat server via putty

a server with RHEL 5.3 is running. im going to access this via putty but get message "server unexpectedly closed network connection". after some time. same is the case with root and oracle user. what can be issue ? (7 Replies)
Discussion started by: rehantayyab82
7 Replies

4. Shell Programming and Scripting

Unix server to Hard-drive connected on the machine

Hi, I have an external hard drive connected to my iMac. I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it. Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies

5. Solaris

Command see all devices connected to Sun server

Hi All, How to view all devices connected to Sun E2900. I wan to view all components attached to it. Please help Regards, NSkumar (3 Replies)
Discussion started by: nskumar
3 Replies

6. Shell Programming and Scripting

regarding Color scheme in linux console connected through putty.

Hi All, I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help. Also How to enable syntax colouring in... (6 Replies)
Discussion started by: Sooraj_Linux
6 Replies

7. Red Hat

putty and Redhat

Hi, I use putty and vncviewer on XP to get screen form the RH Enterprise ws 6.0 . Although it has high quality of graphics scrolling down leads to blinks on screen which is annoying while using EDA design tools. Is there anyway to utilize putty (with some extra tool) so that EDA design tool... (2 Replies)
Discussion started by: titanic
2 Replies

8. Solaris

ALOM wont work when KVM connected to Sun Fire V440 server

Hi, I was asked to connect a KVM screen to a Sun Fire V440 last night so I connected it up but no joy and nothing on the KVM screen. I was told that a reboot may fix the problem so connected to the ALOM and rebooted. On the plus side, the KVM screen now works but I lost the ALOM connection. ... (0 Replies)
Discussion started by: jimmy54321
0 Replies

9. Red Hat

SAN Connected RedHat Server

I received 4 pre-loaded ready-to-go intel servers running RedHat Enterprise Linux 3 kernel version 2.6.9-22.18 build date june 29, 2006. They are equiped with QLOGIC 2400 dual-port HBA cards. I need to know what utilities or command-sets are available to check these cards out? How do I get their... (4 Replies)
Discussion started by: sallender
4 Replies

10. UNIX for Advanced & Expert Users

how to know how many user's connected to ftp and http server

i need to write a program to know how many users are presently connected to my ftp server and http server . i need to keep a count of this and this count should be available to other different software . how to make this GLOBAL so that other softwares can access this count value (7 Replies)
Discussion started by: hariprasad
7 Replies
Login or Register to Ask a Question