Displaying 4 results from an estimated 4 matches for "forkoff".
2002 Feb 04
1
forkoff()
Please review the function below, forkoff(), meant to be used in
clientloop.c instead of daemon() and the code in process_escapes().
The intention is to make ~D ( like ~& but also detach) possible and to
make it possible for ssh -f (or ssh -f -f - see other thread on this)
to detach, not just forkoff().
I also intend to use the same...
2002 Feb 05
0
New forkoff() and chan_wont_read/write() API
...d()/chan_wont_write() API is added that is very much
like chan_read_failed()/chan_write_failed(), but for the debug
messages and chan_wont_*() don't ever call error()
The 3.0.2p1 channel_pre_x11_open() uses chan_*_failed() but looks
like it ought to use chan_wont_*() instead :)
- forkoff() no longer fakes EOF for SSHv2 (still does for SSHv1 - dunno
what to do there)
- the session channel lookup, chan_wont_*(), chan_close_fds(), detach
bit is only done for SSHv2
Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing li...
2002 Feb 01
1
FEATURE: -f -f - fork after successful open of fwd port/display/agent
...ited because the app exited, and you can observe
the error messages / exit status, OR because the app opened the display,
meaning it can now display any future errors.
****
ALSO, "ssh -f -f ..." actually detaches from the tty, and it closes the
session channel correctly.
Please see the forkoff() function added to clientloop.c: it correctly
closes the channel for the SSHv2 session.
Comments?
Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-
-------------- ne...
2002 Jan 11
1
X11 forwarding, -f, error handling
I'd like a feature whereby ssh puts itself in the background after the
first successful X11 (or other port) forwarding.
The reason for this is simple: error handling.
If the application fails to open the X display and exits, then the
client can still exit with the application's exit code. But if the
application opens the X display successfully, then it can just display
any errors by