| Summary: | Should exit correctly when connection is lost | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | icegood <icegood1980> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED WORKSFORME | ||||||
| Severity: | enhancement | CC: | djm | ||||
| Priority: | P5 | ||||||
| Version: | 5.9p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
icegood
2012-08-14 19:35:23 AEST
If you are using an interactive session, then ctrl-C can't kill the local ssh process (think about it for a moment and you'll realise why). For interactive sessions you should use the Disconnect escape sequence described in the "ESCAPE CHARACTERS" section of "man ssh". Usually "<enter>~." unless you have overridden it. Created attachment 2181 [details]
Cleanup channels when using ControlMaster and ~.
Also note that there is a known bug when using ControlMaster (ie mux mode) where the escape sequence ~. does not work in the ControlMaster client. If this is what you're seeing please try the attached patch.
Close all resolved bugs after 7.3p1 release |