Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SSH connection freezes RedHat

Posted on 2014-09-26
13
Medium Priority
?
764 Views
Last Modified: 2014-10-28
Hi Experts,

I have a Redhat Enterprise server 6.2 with openssh.
The putty connection is always freezing, and this sporadic.

I already checked the switch port for network issues, but I don't see any errors.  I check also the load of server with kSar, but I dont see anything strange.

What could it be? A faulty network card?  Are what can I do to troubleshoot more?
0
Comment
Question by:trivin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
  • +2
13 Comments
 
LVL 35

Expert Comment

by:Duncan Roe
ID: 40347055
On the server, try tcpdump port ssh (you may need to be root). Post back what happens when a putty connect fails.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40347277
For how long it "freezes"? any firewall between you and server? e.g. iptables?
0
 
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 498 total points
ID: 40347483
Is your ssh connection the only process that is freezing? Do other users of the system have similar issues? What kind and how many other connections are present when the issues happens? You can check with netstat.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 29

Expert Comment

by:Jan Springer
ID: 40347545
Try disabling DNS In the /etc/ssh/sshd_config and service sshd reload.
0
 

Author Comment

by:trivin
ID: 40349442
It is indeed not always, only when there is more load on the server I think.  Because I want to do a dump right now, but I am waiting till it freezes.

When it freezes, it never comes back.

SSH is the only process that is freezing.  

There is indeed a firewall between, but no IP tables.

There are 36 open connections at this moment, when another puty terminal freezed.
0
 

Author Comment

by:trivin
ID: 40349460
@ Duncan Roe
When I do this command, I just get a blank line when I try to execute this command.  I will try more.

@jesper, I just disabled dns... Let's see if this helps.

Freezing is random, just freezed right after logging in.
Or freezed after doing a netstat command...
0
 
LVL 62

Expert Comment

by:gheist
ID: 40349493
The firewall in between is most likely at fault.
0
 

Author Comment

by:trivin
ID: 40349558
I did restart of the network stack.  The server crashed...  I logged on with DRAC for remote management, and the system was hanging, I had to do a reset of the system.
And it seems to work nice, it does not freeze any more.
But I let this thread open for some days, if the issue comes back or not.
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 1002 total points
ID: 40349567
Check dmesg
if it updates any microcodes during boot - please consider updating all dell firmwares/microcodes/bios-es
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40349632
@gheist - dell?
0
 
LVL 62

Accepted Solution

by:
gheist earned 1002 total points
ID: 40349651
DRAC == DELL
Also upgrade to RHEL 6.5 would be nice (EUS is till active if you pay it, but not for long)
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40349996
@gheist - Thanks ;)
0
 

Author Closing Comment

by:trivin
ID: 40407933
server reboot fixed the issue, but the answer provided helped me to troubleshoot.
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question