diff options
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.h,v 1.79 2010/06/25 07:14:46 djm Exp $ */ +/* $OpenBSD: ssh.h,v 1.89 2018/12/27 03:25:25 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -19,17 +19,16 @@ #define SSH_DEFAULT_PORT 22 /* - * Maximum number of RSA authentication identity files that can be specified + * Maximum number of certificate files that can be specified * in configuration files or on the command line. */ -#define SSH_MAX_IDENTITY_FILES 100 +#define SSH_MAX_CERTIFICATE_FILES 100 /* - * Maximum length of lines in authorized_keys file. - * Current value permits 16kbit RSA and RSA1 keys and 8kbit DSA keys, with - * some room for options and comments. + * Maximum number of RSA authentication identity files that can be specified + * in configuration files or on the command line. */ -#define SSH_MAX_PUBKEY_BYTES 8192 +#define SSH_MAX_IDENTITY_FILES 100 /* * Major protocol version. Different version indicates major incompatibility @@ -41,7 +40,7 @@ #define PROTOCOL_MAJOR_1 1 #define PROTOCOL_MINOR_1 5 -/* We support both SSH1 and SSH2 */ +/* We support only SSH2 */ #define PROTOCOL_MAJOR_2 2 #define PROTOCOL_MINOR_2 0 @@ -92,8 +91,9 @@ #define SSH_PRIVSEP_USER "sshd" #endif -/* Minimum modulus size (n) for RSA keys. */ -#define SSH_RSA_MINIMUM_MODULUS_SIZE 768 - /* Listen backlog for sshd, ssh-agent and forwarding sockets */ #define SSH_LISTEN_BACKLOG 128 + +/* Limits for banner exchange */ +#define SSH_MAX_BANNER_LEN 8192 +#define SSH_MAX_PRE_BANNER_LINES 1024 |