Print this page
3477 SunSSH config should accept TCPKeepAlive as synonym for KeepAlive
Reviewed by: Jerry Jelinek <jerry@joyent.com>
        
*** 8,17 ****
--- 8,18 ----
   * incompatible with the protocol description in the RFC file, it must be
   * called by a name other than "ssh" or "Secure Shell".
   */
  /*
   * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
+  * Copyright 2013 Joyent, Inc.  All rights reserved.
   */
  
  #include "includes.h"
  RCSID("$OpenBSD: servconf.c,v 1.115 2002/09/04 18:52:42 stevesk Exp $");
  
*** 499,509 ****
          { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
          { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
          { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
          { "uselogin", sUseLogin, SSHCFG_GLOBAL },
          { "compression", sCompression, SSHCFG_GLOBAL },
!         { "keepalive", sKeepAlives, SSHCFG_GLOBAL },
          { "allowtcpforwarding", sAllowTcpForwarding, SSHCFG_ALL },
          { "allowusers", sAllowUsers, SSHCFG_GLOBAL },
          { "denyusers", sDenyUsers, SSHCFG_GLOBAL },
          { "allowgroups", sAllowGroups, SSHCFG_GLOBAL },
          { "denygroups", sDenyGroups, SSHCFG_GLOBAL },
--- 500,511 ----
          { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
          { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
          { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
          { "uselogin", sUseLogin, SSHCFG_GLOBAL },
          { "compression", sCompression, SSHCFG_GLOBAL },
!         { "tcpkeepalive", sKeepAlives, SSHCFG_GLOBAL },
!         { "keepalive", sKeepAlives, SSHCFG_GLOBAL },            /* obsolete */
          { "allowtcpforwarding", sAllowTcpForwarding, SSHCFG_ALL },
          { "allowusers", sAllowUsers, SSHCFG_GLOBAL },
          { "denyusers", sDenyUsers, SSHCFG_GLOBAL },
          { "allowgroups", sAllowGroups, SSHCFG_GLOBAL },
          { "denygroups", sDenyGroups, SSHCFG_GLOBAL },