summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/servconf.h b/servconf.h
index 0188b9b89..3ecf6a00d 100644
--- a/servconf.h
+++ b/servconf.h
@@ -11,7 +11,7 @@
11 * called by a name other than "ssh" or "Secure Shell". 11 * called by a name other than "ssh" or "Secure Shell".
12 */ 12 */
13 13
14/* RCSID("$OpenBSD: servconf.h,v 1.30 2000/10/14 12:12:09 markus Exp $"); */ 14/* RCSID("$OpenBSD: servconf.h,v 1.31 2000/11/12 19:50:38 markus Exp $"); */
15 15
16#ifndef SERVCONF_H 16#ifndef SERVCONF_H
17#define SERVCONF_H 17#define SERVCONF_H
@@ -23,6 +23,7 @@
23#define MAX_ALLOW_GROUPS 256 /* Max # groups on allow list. */ 23#define MAX_ALLOW_GROUPS 256 /* Max # groups on allow list. */
24#define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */ 24#define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */
25#define MAX_SUBSYSTEMS 256 /* Max # subsystems. */ 25#define MAX_SUBSYSTEMS 256 /* Max # subsystems. */
26#define MAX_HOSTKEYS 256 /* Max # hostkeys. */
26 27
27typedef struct { 28typedef struct {
28 unsigned int num_ports; 29 unsigned int num_ports;
@@ -30,8 +31,8 @@ typedef struct {
30 u_short ports[MAX_PORTS]; /* Port number to listen on. */ 31 u_short ports[MAX_PORTS]; /* Port number to listen on. */
31 char *listen_addr; /* Address on which the server listens. */ 32 char *listen_addr; /* Address on which the server listens. */
32 struct addrinfo *listen_addrs; /* Addresses on which the server listens. */ 33 struct addrinfo *listen_addrs; /* Addresses on which the server listens. */
33 char *host_key_file; /* File containing host key. */ 34 char *host_key_files[MAX_HOSTKEYS]; /* Files containing host keys. */
34 char *host_dsa_key_file; /* File containing dsa host key. */ 35 int num_host_key_files; /* Number of files for host keys. */
35 char *pid_file; /* Where to put our pid */ 36 char *pid_file; /* Where to put our pid */
36 int server_key_bits;/* Size of the server key. */ 37 int server_key_bits;/* Size of the server key. */
37 int login_grace_time; /* Disconnect if no auth in this time 38 int login_grace_time; /* Disconnect if no auth in this time
@@ -59,7 +60,7 @@ typedef struct {
59 int rhosts_rsa_authentication; /* If true, permit rhosts RSA 60 int rhosts_rsa_authentication; /* If true, permit rhosts RSA
60 * authentication. */ 61 * authentication. */
61 int rsa_authentication; /* If true, permit RSA authentication. */ 62 int rsa_authentication; /* If true, permit RSA authentication. */
62 int dsa_authentication; /* If true, permit DSA authentication. */ 63 int pubkey_authentication; /* If true, permit ssh2 pubkey authentication. */
63#ifdef KRB4 64#ifdef KRB4
64 int kerberos_authentication; /* If true, permit Kerberos 65 int kerberos_authentication; /* If true, permit Kerberos
65 * authentication. */ 66 * authentication. */