Bugzilla – Attachment 2101 Details for
Bug 1948
ssh -f doesn't terminate when muxing connections.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Obey -f even when a muxclient.
postauth-fix-mux.patch (text/plain), 765 bytes, created by
Peter Chubb
on 2011-11-01 11:08:57 AEDT
(
hide
)
Description:
Obey -f even when a muxclient.
Filename:
MIME Type:
Creator:
Peter Chubb
Created:
2011-11-01 11:08:57 AEDT
Size:
765 bytes
patch
obsolete
>Index: openssh-5.9p1/mux.c >=================================================================== >--- openssh-5.9p1.orig/mux.c 2011-06-23 08:31:58.000000000 +1000 >+++ openssh-5.9p1/mux.c 2011-11-01 10:30:54.510258100 +1100 >@@ -95,6 +95,7 @@ > extern volatile sig_atomic_t quit_pending; > extern char *stdio_forward_host; > extern int stdio_forward_port; >+extern int fork_after_authentication_flag; > > /* Context for session open confirmation callback */ > struct mux_session_confirm_ctx { >@@ -1736,6 +1737,8 @@ > if (tty_flag) > enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); > >+ if (fork_after_authentication_flag) >+ daemon(1, 1); > /* > * Stick around until the controlee closes the client_fd. > * Before it does, it is expected to write an exit message.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1948
: 2101 |
2645