diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-13 23:28:01 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-13 23:28:01 +0000 |
commit | 5744dc421d035c701b6660a58bed0d038c211375 (patch) | |
tree | a7c8df98b56a37c9be2fb3e33893e90424a85379 /servconf.h | |
parent | 402b3319456c1f0da0822319c3813c68e155726d (diff) |
- beck@cvs.openbsd.org 2001/04/13 22:46:54
[channels.c channels.h servconf.c servconf.h serverloop.c sshd.8]
Add options ClientAliveInterval and ClientAliveCountMax to sshd.
This gives the ability to do a "keepalive" via the encrypted channel
which can't be spoofed (unlike TCP keepalives). Useful for when you want
to use ssh connections to authenticate people for something, and know
relatively quickly when they are no longer authenticated. Disabled
by default (of course). ok markus@
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -11,7 +11,7 @@ * called by a name other than "ssh" or "Secure Shell". */ -/* RCSID("$OpenBSD: servconf.h,v 1.40 2001/04/12 19:15:25 markus Exp $"); */ +/* RCSID("$OpenBSD: servconf.h,v 1.41 2001/04/13 22:46:53 beck Exp $"); */ #ifndef SERVCONF_H #define SERVCONF_H @@ -115,6 +115,15 @@ typedef struct { int max_startups; char *banner; /* SSH-2 banner message */ int reverse_mapping_check; /* cross-check ip and dns */ + int client_alive_interval; /* + * poke the client this often to + * see if it's still there + */ + int client_alive_count_max; /* + *If the client is unresponsive + * for this many intervals, above + * diconnect the session + */ } ServerOptions; /* |