Date: 16 Dec 2002 23:59:01 +0000 From: Stacey Roberts <stacey@vickiandstacey.com> To: Mikhail Teterin <mi@corbulon.video-collage.com> Cc: questions@FreeBSD.org, net@FreeBSD.org Subject: Re: rlogin, ssh tak forever Message-ID: <1040083141.86677.100.camel@localhost> In-Reply-To: <200212162342.gBGNgvmg014658@corbulon.video-collage.com> References: <200212162342.gBGNgvmg014658@corbulon.video-collage.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040083141.86677.100.camel>