LinuxQuestions.org
Review your favorite Linux distribution.
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, 12: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 12:52 PM.
 
Old 02-10-2011, 12: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, 02:10 PM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,484

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
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 08:35 PM
Putty Fatal error: server unexpectedly closed network connection. smartgupta Linux - Server 1 12-22-2010 09:14 AM
Putty fatal error: Network error: connection refused (ubunty server 6.06.1) gerardnijboer Ubuntu 2 03-18-2010 03:46 PM
Putty: server unexpectedly closed network connection Dshah Linux - Server 2 12-20-2009 09:57 AM
Different SSH "Server unexpectedly closed network connection" (using Putty) mjwraw Linux - Networking 4 07-22-2009 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 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
Open Source Consulting | Domain Registration