ssh hangs if pm-hibernate ran on server
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
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelMo
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
RelatedPackageV
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)
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?