From owner-freebsd-current@FreeBSD.ORG Fri Dec 23 13:54:08 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7759A16A41F; Fri, 23 Dec 2005 13:54:08 +0000 (GMT) (envelope-from MH@kernel32.de) Received: from crivens.unixoid.de (crivens.unixoid.de [81.169.171.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE77643D72; Fri, 23 Dec 2005 13:54:07 +0000 (GMT) (envelope-from MH@kernel32.de) Received: from localhost (localhost [127.0.0.1]) by crivens.unixoid.de (Postfix) with ESMTP id 61DD641C4; Fri, 23 Dec 2005 14:54:05 +0100 (CET) Received: from crivens.unixoid.de ([127.0.0.1]) by localhost (crivens.unixoid.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63658-12; Fri, 23 Dec 2005 14:54:01 +0100 (CET) Received: from [192.168.100.104] (p54BDDC0C.dip.t-dialin.net [84.189.220.12]) by crivens.unixoid.de (Postfix) with ESMTP id 9EAE941C3; Fri, 23 Dec 2005 14:53:46 +0100 (CET) Message-ID: <43AC0160.4070108@kernel32.de> Date: Fri, 23 Dec 2005 14:53:36 +0100 From: Marian Hettwer User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kobi Shmueli References: <43ABF6E4.2090908@ll.mit.edu> <001301c607c4$e04e2540$80cea8c0@home1> In-Reply-To: <001301c607c4$e04e2540$80cea8c0@home1> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at unixoid.de Cc: stable@freebsd.org, "Michael A. Koerber" , current@freebsd.org Subject: Re: SSH login takes very long time...sometimes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 13:54:08 -0000 Hej there, Kobi Shmueli wrote: > > > Try checking /etc/resolv.conf on oboe first, adding a static entry to > /etc/hosts of the remote ip/host should speed dns checks as well. > You can also run ssh in verbose mode (ssh -v oboe) or/and run sshd in debug > mode (sshd -d). > alternativly to check out wether it's dns related, you use set the Option "UseDNS no" in your sshd_config, so sshd won't try a reverse dns lookup. Give it a shoot. Usually ssh timeouts are related to DNS... HTH, Marian