LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-10-2011, 01:41 PM   #1
pwwellons
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
PuTTY Fatal Error: Server unexpectedly closed network connection


Hi all, first off I would like to thank anyone ahead of time that may assist me with this. Also this is my first time posting a question here, and this question has to deal with PuTTy accessing HPUX, so not sure if this applies to this forum. I have seen other questions regarding this error in PuTTy which brought me to posting my question here... so enough with backstory and on to the issue!

I have a client that uses PuTTy to access their hpux system and he sporatically recieves the following error about 2 minutes after he enters his username/password waiting to get in;

PuTTY Fatal Error: Server unexpectedly closed network connection

Now I have looked all over the place but I can't come to a conclusion why this is happening. There is nothing in hosts.deny, which I didn't think would be the issue as he is able to login sometimes.

My client has 2 backend nodes he connects to, and it seems to only happen on one, and does not happen every time. Sometimes when he logs in he gets hung up and it seems like it will error out but ends up getting through.

I have tried turning on logging SSH packet info, but I honestly don't know how to interpret it or if I will get anything useful from them regarding the error.

Please assist

Last edited by pwwellons; 02-10-2011 at 01:52 PM.
 
Old 02-10-2011, 01:43 PM   #2
dcatiii
LQ Newbie
 
Registered: Apr 2010
Location: Dallas, TX
Distribution: Arch, Ubuntu, Redhat
Posts: 26

Rep: Reputation: 0
No chance there is any specifically set administrative networks for the connection? Or possibly an intermediate firewall that notices the connection and drops the packets?
 
Old 02-10-2011, 03:10 PM   #3
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 832

Rep: Reputation: 181Reputation: 181
Putty

It sounds like less a putty issue than a network issue, but lets check some things.
Do both nodes have valid entries in the local DNS? In other words, do the names resolve properly? If not, try using "UdeDNS NO" in the sshd_conf file. The DNS checks can cause some delays that (in certain instances) can collide with timeout issues and cause odd behaviors.

Does the network latency match for traffic to each of the remote nodes? How do the ping results look? Check netconfig tables and see if any of the interfaces involved are stacking error counts. (You may have a duplex mismatch, or packet size collision: it happens.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty:server unexpectedly closed network connection dyool Ubuntu 8 03-07-2012 09:35 PM
Putty Fatal error: server unexpectedly closed network connection. smartgupta Linux - Server 1 12-22-2010 10:14 AM
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 04:46 PM
Putty: server unexpectedly closed network connection Dshah Linux - Server 2 12-20-2009 10:57 AM
Different SSH "Server unexpectedly closed network connection" (using Putty) mjwraw Linux - Networking 4 07-22-2009 08:23 AM


All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration