bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-19 09:42 UTC
[Bug 1938] New: EscapeChar sometimes don't work when using ControlMaster
https://bugzilla.mindrot.org/show_bug.cgi?id=1938
Bug #: 1938
Summary: EscapeChar sometimes don't work when using
ControlMaster
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.8p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: powerman-asdf at ya.ru
When my ssh connection hangs (usually after ADSL PPPoE reconnect), I
always was able to kill it using "<Enter>~." combination
(EscapeChar is
set to ~, by default).
Few days ago I've added this to my ~/.ssh/config:
ControlMaster auto
ControlPath /tmp/ssh_mux_powerman/%r@%h:%p
ControlPersist 15m
and since that time I no longer able to kill hang ssh connection this
way
(I've to start ssh with "-O exit" from command line for this).
My first thought was EscapeChar doesn't compatible with ControlMaster,
but later I notice "<Enter>~." combination works just fine while
ssh
connection is alive, and stop working only after connection hangs.
So, I decide this may be a bug. In any case, it's very annoying side
effect of otherwise cool feature ControlMaster.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-22 11:32 UTC
[Bug 1938] EscapeChar sometimes don't work when using ControlMaster
https://bugzilla.mindrot.org/show_bug.cgi?id=1938
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2011-09-22 21:32:55
EST ---
I've seen this a couple of times, but only when using ControlPersist
and I didn't have the presence of mind to attach with a debugger. If
you can catch it, a stack trace of where it is stuck would be immensely
helpful in debugging this intermittent problem.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-22 11:57 UTC
[Bug 1938] EscapeChar sometimes don't work when using ControlMaster
https://bugzilla.mindrot.org/show_bug.cgi?id=1938
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Damien Miller <djm at mindrot.org> 2011-09-22 21:57:53
EST ---
silly me - this was already reported in bug 1917.
*** This bug has been marked as a duplicate of bug 1917 ***
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Reasonably Related Threads
- [Bug 1917] New: Escape sequence (~) doesn't work right with ControlMaster/ControlPersist connections
- [Bug 1938] EscapeChar sometimes don't work when using ControlMaster
- [Bug 2420] New: Race condition regarding ControlPersist and ControlMaster=auto
- Add missing -o options in ssh(1) manual
- [Bug 1917] Escape sequence (~) doesn't work right with ControlMaster/ControlPersist connections