diff options
author | 2001-10-10 22:18:47 +0000 | |
---|---|---|
committer | 2001-10-10 22:18:47 +0000 | |
commit | 76bbdeac8eaecc2bde9c0fbfbf5a422dd38ab601 (patch) | |
tree | a41c1119225acb6131dbdf023606ee1230691894 /usr.bin/ssh/session.h | |
parent | Mention the X11 sets, with a note that there is no X server available for (diff) | |
download | wireguard-openbsd-76bbdeac8eaecc2bde9c0fbfbf5a422dd38ab601.tar.xz wireguard-openbsd-76bbdeac8eaecc2bde9c0fbfbf5a422dd38ab601.zip |
try to keep channels open until an exit-status message is sent.
don't kill the login shells if the shells stdin/out/err is closed.
this should now work:
ssh -2n localhost 'exec > /dev/null 2>&1; sleep 10; exit 5'; echo ?
Diffstat (limited to 'usr.bin/ssh/session.h')
-rw-r--r-- | usr.bin/ssh/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h index d2b0d936409..6d5b8e69922 100644 --- a/usr.bin/ssh/session.h +++ b/usr.bin/ssh/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.12 2001/10/09 21:59:41 markus Exp $ */ +/* $OpenBSD: session.h,v 1.13 2001/10/10 22:18:47 markus Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -32,6 +32,6 @@ int session_open(Authctxt*, int); void session_input_channel_req(int, void *); void session_close_by_pid(pid_t, int); void session_close_by_channel(int, void *); -void session_close_all(void); +void session_destroy_all(void); #endif |