summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-05-19 14:57:41 +1000
committerDamien Miller <djm@mindrot.org>2008-05-19 14:57:41 +1000
commit4f755cdc05f5c6dee7cb1894f8d3bcaee33443d0 (patch)
tree73c05a3429a9d63d32b373fd3bd92900d43883da /servconf.h
parentbacb7fbd7e7716a4d3148769d43d8896cbfb2c54 (diff)
- pyr@cvs.openbsd.org 2008/05/07 05:49:37
[servconf.c servconf.h session.c sshd_config.5] Enable the AllowAgentForwarding option in sshd_config (global and match context), to specify if agents should be permitted on the server. As the man page states: ``Note that disabling Agent forwarding does not improve security unless users are also denied shell access, as they can always install their own forwarders.'' ok djm@, ok and a mild frown markus@
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h
index 5b88067db..aaf87cd18 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.h,v 1.82 2008/02/13 22:38:17 djm Exp $ */ 1/* $OpenBSD: servconf.h,v 1.83 2008/05/07 05:49:37 pyr Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -101,6 +101,7 @@ typedef struct {
101 int use_login; /* If true, login(1) is used */ 101 int use_login; /* If true, login(1) is used */
102 int compression; /* If true, compression is allowed */ 102 int compression; /* If true, compression is allowed */
103 int allow_tcp_forwarding; 103 int allow_tcp_forwarding;
104 int allow_agent_forwarding;
104 u_int num_allow_users; 105 u_int num_allow_users;
105 char *allow_users[MAX_ALLOW_USERS]; 106 char *allow_users[MAX_ALLOW_USERS];
106 u_int num_deny_users; 107 u_int num_deny_users;