From owner-freebsd-questions@FreeBSD.ORG Sat Jul 8 15:42:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94DE916A4DA for ; Sat, 8 Jul 2006 15:42:37 +0000 (UTC) (envelope-from eric@mikestammer.com) Received: from smtp113.sbc.mail.re2.yahoo.com (smtp113.sbc.mail.re2.yahoo.com [68.142.229.92]) by mx1.FreeBSD.org (Postfix) with SMTP id E675943D49 for ; Sat, 8 Jul 2006 15:42:36 +0000 (GMT) (envelope-from eric@mikestammer.com) Received: (qmail 1684 invoked from network); 8 Jul 2006 15:42:36 -0000 Received: from unknown (HELO gondolin.mikestammer.com) (mikestammer@sbcglobal.net@68.251.71.132 with login) by smtp113.sbc.mail.re2.yahoo.com with SMTP; 8 Jul 2006 15:42:36 -0000 Received: from localhost (localhost [127.0.0.1]) by gondolin.mikestammer.com (Postfix) with ESMTP id D0E97107 for ; Sat, 8 Jul 2006 10:42:35 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from gondolin.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GuWGoRddZmlr for ; Sat, 8 Jul 2006 10:42:34 -0500 (CDT) Received: from [127.0.0.1] (unknown [192.168.0.21]) by gondolin.mikestammer.com (Postfix) with ESMTP id 79DEBE9 for ; Sat, 8 Jul 2006 10:42:33 -0500 (CDT) Message-ID: <44AFD26E.7080703@mikestammer.com> Date: Sat, 08 Jul 2006 10:42:38 -0500 From: Eric User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060708031809.H1799@ganymede.hub.org> <44AFA3F2.3030303@mikestammer.com> <20060708123403.Q1799@ganymede.hub.org> In-Reply-To: <20060708123403.Q1799@ganymede.hub.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Linksys router and ssh time outs ... 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: Sat, 08 Jul 2006 15:42:37 -0000 User Freebsd wrote: >> >> Putty has an option to send keep alives every few seconds as does >> SecureCRT. > > Those are, ummm, Windows clients, right? :) > > I'm using OpenSSH on a FreeBSD desktop ... does it have similar? :) > it should, but i havent played with it. i found this tho: For ssh2, you can choose the time in sshd_config by setting the ClientAlive* options. For ssh1, you need to tweak the system timers on either the server or client system; this is of course system-dependent. ClientAlive* are ssh protocol keepalives: the server and the client exchange encrypted messages to test and maintain the connection. This is more useful than tcp keepalives in some applications. Checkout "man 5 sshd_config" and look for "ClientAliveInterval" and "ClientAliveCountMax". might be worth playing with.