[Bug 790774] [NEW] ssh hangs after inactivity (maybe when connection is lost)

matteo sisti sette 790774 at bugs.launchpad.net
Tue May 31 16:14:36 UTC 2011


Public bug reported:

Steps to reproduce:

1. Open a terminal
2. Write:
  ssh user at myhost.com
where myhost.com is some host where you have ssh access and user is the user name
3. Enter the password when prompted
4. Wait for several minutes or hours without doing anything
5. try to type something

Expected: either the connection is still alive, in which case you should
be able to type, see what you type, and do things while logged on the
remote machine, OR the connection has been closed due to inactivity, in
which case ssh should show a message and gracefully quit.

Observed: ssh hangs; No message is shown; the remote machine's "prompt"
is still shown and the cursor still blinks, but you are unable to type
anything. You can't even quit ssh (typing "exit" has no effect)  and
return to normal local terminal operation. The only way out is to close
the terminal (or open another one and kill the ssh process)

I guess this happens when the connection with the server is lost,
probably closed by the server due to inactivity; however the client
should detect this and gracefully exit.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ssh (not installed)
ProcVersionSignature: Ubuntu 2.6.32-31.61-generic 2.6.32.32+drm33.14
Uname: Linux 2.6.32-31-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue May 31 18:04:56 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openssh

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/790774

Title:
  ssh hangs after inactivity (maybe when connection is lost)



More information about the Ubuntu-server-bugs mailing list