From owner-freebsd-net Mon Dec 16 15:59:13 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 028DF37B401; Mon, 16 Dec 2002 15:59:11 -0800 (PST) Received: from colossus.systems.pipex.net (colossus.systems.pipex.net [62.241.160.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A9E343ED1; Mon, 16 Dec 2002 15:59:10 -0800 (PST) (envelope-from stacey@vickiandstacey.com) Received: from [192.168.1.8] (81-86-129-77.dsl.pipex.com [81.86.129.77]) by colossus.systems.pipex.net (Postfix) with ESMTP id 619C2160005A8; Mon, 16 Dec 2002 23:58:56 +0000 (GMT) Subject: Re: rlogin, ssh tak forever From: Stacey Roberts Reply-To: stacey@vickiandstacey.com To: Mikhail Teterin Cc: questions@FreeBSD.org, net@FreeBSD.org In-Reply-To: <200212162342.gBGNgvmg014658@corbulon.video-collage.com> References: <200212162342.gBGNgvmg014658@corbulon.video-collage.com> Content-Type: text/plain Organization: Message-Id: <1040083141.86677.100.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 16 Dec 2002 23:59:01 +0000 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Are you attempting to ssh to the machine via hostname? What's the response time like when you try ssh'ing to a host via its IP address? Also, is there a firewall in between in the route to / from source and target machines? What options to ssh (or rlogin) are being used, if any? Might be an idea to try ssh with the "-v" option, and paste the output to the list. Regards, Stacey On Mon, 2002-12-16 at 23:42, Mikhail Teterin wrote: > Hello! > > Rlogin and/or ssh into my machine takes forever. Apparently -- a name > resolving issue, since rlogind remains idle for most of the time. Attaching > debugger to the server rlogind process yields: > > 0x280ba50f in kevent () from /usr/lib/libc.so.5 > (gdb) where > #0 0x280ba50f in kevent () from /usr/lib/libc.so.5 > #1 0x280e968d in res_send () from /usr/lib/libc.so.5 > #2 0x280f0feb in getaddrinfo () from /usr/lib/libc.so.5 > #3 0x280f14c1 in getaddrinfo () from /usr/lib/libc.so.5 > #4 0x280f11e5 in getaddrinfo () from /usr/lib/libc.so.5 > #5 0x280f062c in getaddrinfo () from /usr/lib/libc.so.5 > #6 0x280f964d in nsdispatch () from /usr/lib/libc.so.5 > #7 0x280ef1ad in getaddrinfo () from /usr/lib/libc.so.5 > #8 0x280ef06c in getaddrinfo () from /usr/lib/libc.so.5 > #9 0x280a9714 in __ivaliduser_sa () from /usr/lib/libc.so.5 > #10 0x280a9453 in __ivaliduser_sa () from /usr/lib/libc.so.5 > #11 0x280a8e5f in iruserok_sa () from /usr/lib/libc.so.5 > > It feels like something times out and proceeds, because once logged > in, the connection is as fast as the LAN is supposed to be. > > I'd look into the name resolution issues, but nslookup(1) and host(1) > are both very quick with answers about all machines involved. > > /etc/resolv.conf contains five domains and two (local) name servers. > host.conf lists hosts, bind, nis in this order. > > Any clues? Thanks! > > -mi > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message