ssh hangs if pm-hibernate ran on server

Bug #1074659 reported by Ken Sharp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

If pm-hibernate is ran on an OpenSSH server machine, the ssh client app never times out, and has to be killed. Not sure if pm-tools is to blame here, but the ssh client should be timing out.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openssh-client 1:5.9p1-5ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Sat Nov 3 14:16:23 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 ssh-askpass N/A
 libpam-ssh N/A
 keychain N/A
 ssh-askpass-gnome 1:5.9p1-5ubuntu1
SSHClientVersion: OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please could you confirm how long you've waited for the client to time out, and whether you have tried to send any data from the client or if you are expecting it to time out on its own?

ssh_config(5) indicates that by default TCP keepalives are enabled, and on my system it looks like Linux won't default to timing out on TCP keepalives for at least two hours and eleven minutes (tcp_keepalive_time=7200, tcp_keepalive_intvl=75, tcp_keepalive_probes=9). Have you waited this long?

Additionally, are you aware of the ServerAliveInterval (and/or ClientAliveInterval on the server side) option?

Please could you also clarify if the bug that you are reporting is that you want the default timeout options changed, the timeout tuning options don't work, or something else?

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.