LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2005, 02:04 PM   #1
serafim
LQ Newbie
 
Registered: Aug 2005
Location: Nacka, just outside of Stockholm, Sweden
Distribution: Manjaro Mate, Ubuntu Mate, Debian
Posts: 22

Rep: Reputation: 5
ssh on redhat enterprise server hangs


I'm running Red Hat Enterprise Linux AS release 3 (Taroon Update 5) on a Dell server with openafs and local filesystem.
It is connected to a fairly large network with red hat linux work stations and solaris machines on it.
All run a mix of openafs and local file system.
Authentication is made with kerberos against a server residing in the afs portion of the file system.
Many students log in to the server via ssh for various reasons and if they don't log out properly but only close down the terminal window they used to connect to my server there will be a number of processes that hang.
These processes cannot be contacted and they don't die. They are allways in pairs, one parent process that belongs to root and one child process that belongs to the person that logged in. If I try to kill them there is no respons from the parent processes and the child processes become "defunct". If there are more than five such process pairs sshd waits forever when someone makes a new login attempt. It works fine to login with kerberised telnet. I cannot reboot by the command "reboot", it hangs too - probably waiting for sshd that will not shut down. I can, however, issue a "init 6" which reboots the server.

I found a bug report and used the suggested remedy - issue a
shopt -s huponexit
in /etc/bashrc

and
ClientAliveInterval 15
ClientAliveCountMax 4

in /etc/ssh2/sshd2_config to make sshd kill clients after a minute if they don't respond to "are ou alive" questions.
It still doesn't work and I'm somewhat new in this field. Can someone suggest a solution?
 
Old 08-17-2005, 11:59 PM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Does 'kill -15' make any difference?
 
Old 08-18-2005, 06:04 PM   #3
serafim
LQ Newbie
 
Registered: Aug 2005
Location: Nacka, just outside of Stockholm, Sweden
Distribution: Manjaro Mate, Ubuntu Mate, Debian
Posts: 22

Original Poster
Rep: Reputation: 5
Not many things seem to work. I have decided (for now) to allow login only via kerberized telnet. It works without problems.
 
  


Reply



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
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
yum repositories for redhat enterprise server 3 snowinferno Linux - Enterprise 1 10-25-2005 04:34 PM
Partitioning on Redhat Enterprise Server 3 IA 64 santosh_rokade Red Hat 1 09-09-2004 04:15 PM
mysql 4.0.20 on a redhat enterprise advanced server 3 box. sathysudhakar Linux - Software 2 08-16-2004 12:14 AM
Server hangs on redhat 9; Kernel 2.4.20-8 #1 drodger Linux - Hardware 0 04-18-2004 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:09 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