[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh hangs after about 15 minutes for each connection



Both I and a friend have noticed that our slogin connections 
hang (timeout?) after not using our connections for about 15 minutes.
I noticed this hanging after I upgraded from potato to woody 
about 10 months ago, and my friend noticed this hanging 
after he upgraded from potato to woody about 3 months ago.

For example, from my office-computer,
   slogin  -X  my-home-computer
after which I seem to remain connected as long as I interract with
the connection for about a 15 minute period.
But if I do not interract for about 15 minutes,
then I will no longer get any keyboard interraction however many
minutes/days pass, including no response from ctl-C, ctl-D, ctrl-Z.
I can only get my local xterm back, and I do that with  
   "~."
However, my remote computer [home computer in my case] continues 
to run the corresponding "ssh" process. 
After using  "~." on my local computer [office computer in my case],
I merely accumulate these ssh processes 
on my remote computer [home computer in my case],
a process clutter that I eventually kill after a week. 

I have even tried changing on my remote [home] computer
/etc/ssh/ssh_conf  and  /etc/ssh/ssh_conf with
   KeepAlive no
but my slogin still hangs after about 15 minutes of non-use.
I notice no aberrant log entries with the pattern "ssh".
Something seems to have changed between the potato and the woody
versions of ssh.
I welcome any suggestions.

Here is some of my current Debian woody configuration 
(up-to-date via apt-get) as of April 9.
    ssh            3.0.2p1-8.3
    debconf        1.0.31
    libc6          2.2.5-4 
    libpam-modules 0.72-35 
    libpam-runtime 0.72-35
    libpam0g       0.72-35
    libssl0.9.6    0.9.6c-2 
    libwrap0       7.6-9     Wietse Venema's TCP wrappers library
    zlib1g         1.1.4-1   compression library - runtime
   

-- 
Jameson C. Burt, NJ9L   Fairfax, Virginia, USA
jameson@coost.com       http://www.coost.com
(202) 690-0380 (work)

You can only find truth with logic if you have already found truth without it.
-- G.K. Chesterton


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: