From owner-freebsd-questions Sun Apr 8 15: 4:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail9.sdc1.sfba.home.com (femail9.sdc1.sfba.home.com [24.0.95.89]) by hub.freebsd.org (Postfix) with ESMTP id 8248637B42C for ; Sun, 8 Apr 2001 15:04:51 -0700 (PDT) (envelope-from graywane@home.com) Received: from cg392862-a.adubn1.nj.home.com ([65.2.79.221]) by femail9.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010408220451.KVLD146.femail9.sdc1.sfba.home.com@cg392862-a.adubn1.nj.home.com>; Sun, 8 Apr 2001 15:04:51 -0700 Received: (from graywane@localhost) by cg392862-a.adubn1.nj.home.com (8.11.3/8.11.3) id f38M4o653638; Sun, 8 Apr 2001 18:04:50 -0400 (EDT) (envelope-from graywane) Date: Sun, 8 Apr 2001 18:04:49 -0400 From: Graywane To: Trevin Chow Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Constant disconnections Message-ID: <20010408180449.A52978@home.com> References: <5.0.2.1.2.20010408145933.02570ef0@rapid.sfu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.0.2.1.2.20010408145933.02570ef0@rapid.sfu.org>; from tmchow@sfu.ca on Sun, Apr 08, 2001 at 03:01:46PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 08, 2001 at 03:01:46PM -0700, Trevin Chow wrote: > I have a 4.3RC box setup and I'm able to connect remotely via=20 > SSH. However, when connected, I'm getting disconnected at random times a= nd=20 > am unable to reconnect for a varying amount of time. I just keep retryin= g=20 > and then I'll be able to reconnect after a couple of minutes.... ssh has an options named "KeepAlive" which defaults to "yes". It allows ssh to quickly notice when a connection dies. However, if the route between the two hosts is only temporarily down then KeepAlive will still drop the connection. If you are sure that the two hosts involved in the connection aren't dying and that there are no firewall rules interfering with the connection then temporary router difficulty is usually to blame. In short, turn KeepAlive off and see if that helps. I leave KeepAlive on for ssh tunnels that sit around for days and rarely have disconnects but your milage may vary. --=20 Note: See http://www.members.home.net/graywane/ for PGP information. --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrQ4IEACgkQeHdFaBWUGN2KxACePMBq3SB4hWqhDJpIJvEn+M2h Bp0AoLnmV1vYsS+u0ZLeFck2DR3iss/z =XUkE -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message