summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-11-07 14:11:06 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-11-07 14:11:06 +0000
commitadc4d0194f4c9348cdd331e80deb2b3401a29877 (patch)
tree38e0293d99f7872849e1ec4b173d631173fbc786 /options.h
parente80f8e8c09dab7cece30660a33e2a2bfd5d5f571 (diff)
Idle timeout patch from Farrell Aultman. Needs testing, unsure if server
code works --HG-- extra : convert_revision : ff66e05ae040561110af70114bf83f11ed528f05
Diffstat (limited to 'options.h')
-rw-r--r--options.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/options.h b/options.h
index 642b997..12be4bb 100644
--- a/options.h
+++ b/options.h
@@ -149,9 +149,9 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */
* but there's an interface via a PAM module - don't bother using it otherwise.
* You can't enable both PASSWORD and PAM. */
-#define ENABLE_SVR_PASSWORD_AUTH
+/*#define ENABLE_SVR_PASSWORD_AUTH*/
/* PAM requires ./configure --enable-pam */
-/*#define ENABLE_SVR_PAM_AUTH*/
+#define ENABLE_SVR_PAM_AUTH
#define ENABLE_SVR_PUBKEY_AUTH
/* Wether to ake public key options in authorized_keys file into account */
@@ -258,6 +258,10 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */
be overridden at runtime with -K. 0 disables keepalives */
#define DEFAULT_KEEPALIVE 0
+/* Ensure that data is received within IDLE_TIMEOUT seconds. This can
+be overridden at runtime with -I. 0 disables idle timeouts */
+#define DEFAULT_IDLE_TIMEOUT 0
+
/* The default path. This will often get replaced by the shell */
#define DEFAULT_PATH "/usr/bin:/bin"