]> andersk Git - gssapi-openssh.git/blobdiff - openssh/ssh.h
shouldn't have been committed to OPENSSH_PORTABLE_DIST branch
[gssapi-openssh.git] / openssh / ssh.h
index e23bb1d5c26c1b80e39ebd65768ad182d36e27f6..07592415b157198dafaf9d125d2d89fdcaae74a6 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ssh.h,v 1.70 2002/06/03 12:04:07 deraadt Exp $        */
+/*     $OpenBSD: ssh.h,v 1.76 2004/12/06 11:41:03 dtucker Exp $        */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -20,7 +20,6 @@
 #include <stdarg.h> /* For va_list */
 #include <syslog.h> /* For LOG_AUTH and friends */
 #include <sys/socket.h> /* For struct sockaddr_storage */
-#include "openbsd-compat/fake-socket.h" /* For struct sockaddr_storage */
 #ifdef HAVE_SYS_SELECT_H
 # include <sys/select.h>
 #endif
  */
 #define SSH_MAX_IDENTITY_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.
+ */
+#define SSH_MAX_PUBKEY_BYTES           8192
+
 /*
  * Major protocol version.  Different version indicates major incompatibility
  * that prevents communication.
  */
 #define SSH_SERVICE_NAME       "ssh"
 
-#if defined(USE_PAM) && !defined(SSHD_PAM_SERVICE)
-# define SSHD_PAM_SERVICE       __progname
-#endif
-
 /*
- * Name of the environment variable containing the pathname of the
- * authentication socket.
+ * Name of the environment variable containing the process ID of the
+ * authentication agent.
  */
 #define SSH_AGENTPID_ENV_NAME  "SSH_AGENT_PID"
 
@@ -93,9 +95,6 @@
  */
 #define SSH_SESSION_KEY_LENGTH         32
 
-/* Name of Kerberos service for SSH to use. */
-#define KRB4_SERVICE_NAME              "rcmd"
-
 /* Used to identify ``EscapeChar none'' */
 #define SSH_ESCAPECHAR_NONE            -2
 
 /* 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
+
 #endif                         /* SSH_H */
This page took 0.091939 seconds and 4 git commands to generate.