Re: slow to log in using ssh
From: Bill Vermillion (bv_at_wjv.comREMOVE)
Date: 09/10/03
- Next message: Bill Vermillion: "Re: Advocacy? Help pitch to client?"
- Previous message: Bill Vermillion: "Re: Services trouble!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Sep 2003 00:27:04 GMT
In article <euV0b.212039$YN5.146413@sccrnsc01>,
Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote:
>I was reading the other thread about someone finding log in using ssh to be
>slow, because of problems with reverse DNS.
>
>I am finding that I sometimes have the same problem. I have a local area
>network with about 4 computers. When the connection to the outside world is
>temporarily non-functional (as is fairly frequent with a cable modem), I am
>seeing that connecting from one computer to another using ssh on the LAN is slow.
>
>I ran "/usr/sbin/sshd -d -d -d" on one computer and ssh'ed from another. I saw
>that it was trying to do a reverse DNS on 10.0.0.3, which is the IP number of
>the connecting computer.
>
>Here are my questions:
>1. I have an entry for 10.0.0.3 in my /etc/hosts file? Why
>doesn't sshd look there first before trying to do a reverse DNS
>on the external domain name servers?
Do the other computers on your network use that file? Not really -
but if you put DNS on that machine they could use it.
I just checked my local machines and I get about 2 seconds
from the time I issue the command until I get a login prompt.
I also get about 2 seconds to some machines I admin at a colo which
is physially about 10 miles from here - but take a 1500 mile trip
on the 'net.
So make the /etc/hosts identical in all machines. Because the
name/IP match needs to occur on the machine you are connecting to.
Bill
-- Bill Vermillion - bv @ wjv . com
- Next message: Bill Vermillion: "Re: Advocacy? Help pitch to client?"
- Previous message: Bill Vermillion: "Re: Services trouble!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|