From owner-freebsd-questions@FreeBSD.ORG Wed May 13 05:03:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 189B1106564A for ; Wed, 13 May 2009 05:03:34 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id D515F8FC0C for ; Wed, 13 May 2009 05:03:33 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id n4D53XGp004548 for ; Tue, 12 May 2009 22:03:33 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id n4D53XlH004547 for freebsd-questions@freebsd.org; Tue, 12 May 2009 22:03:33 -0700 (PDT) (envelope-from sgk) Date: Tue, 12 May 2009 22:03:33 -0700 From: Steve Kargl To: freebsd-questions@freebsd.org Message-ID: <20090513050333.GA4509@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Disabling ssh timeouts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 05:03:34 -0000 Is there anyway to disable sshd from timing out a connection? I've tried setting ClientAliveCountMax and ClientAliveInterval and TCPKeepAlive in sshd.conf, but no combination that I've tried has worked. I'm trying to running the GCC testsuite, which is not an interactive job. Once it starts, it writes to stdout when an error occurs or the testsuite moves to a new major test category. The last few lines of output are Running target unix Using /usr/X11R6/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/X11R6/share/dejagnu/config/unix.exp as generic interface file for target. Using /usr/home/sgk/gcc/gcc4x/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/debug/debug.exp ... Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ... Read from remote host troutmask.apl.washington.edu: Connection reset by peer Connection to troutmask.apl.washington.edu closed. The only way I'v efound to complete a run of the GCC testsuite is to sit at the terminal and hit enter every so often. Also note, nohup and backgrounding the job does not inhibit sshd dropping the connection and losing all testsuite results. -- Steve