diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-01-17 10:44:48 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-01-17 10:50:41 +0100 |
commit | 0293c19807f83141cdf33b443154459f9ee471f6 (patch) | |
tree | b24a66100ba0d93f33bd420e40cb2fb8b30477a5 /servconf.h | |
parent | upstream: adapt to ed25519 changes in src/usr.bin/ssh (diff) | |
download | openssh-0293c19807f83141cdf33b443154459f9ee471f6.tar.xz openssh-0293c19807f83141cdf33b443154459f9ee471f6.zip |
upstream: Add a sshd_config UnusedConnectionTimeout option to terminate
client connections that have no open channels for some length of time. This
complements the recently-added ChannelTimeout option that terminates inactive
channels after a timeout.
ok markus@
OpenBSD-Commit-ID: ca983be74c0350364c11f8ba3bd692f6f24f5da9
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index 4745e58a2..7ad43de87 100644 --- a/servconf.h +++ b/servconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.158 2023/01/06 02:47:19 djm Exp $ */ +/* $OpenBSD: servconf.h,v 1.159 2023/01/17 09:44:48 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -233,6 +233,8 @@ typedef struct { char **channel_timeouts; /* inactivity timeout by channel type */ u_int num_channel_timeouts; + + int unused_connection_timeout; } ServerOptions; /* Information about the incoming connection as used by Match */ |