ssh and resolv.conf question

Chuck Swiger cswiger at mac.com
Wed May 28 01:23:31 PDT 2003


Wiroth Didier wrote:
[ ... ]
> Now the problem: when I use the "Case2" resolv.conf file
> and I try to log on with my ssh client to 192.168.0.2
> "Login as:" appears quite instantly but the password
> prompts takes about 50 seconds to appear!
> 
> When I change back resolv.conf to "Case1" there is no
> problem, "password:" appears rapidely after having entered
> the username!
> 
> What it is the problem?

Setting up reverse DNS, or adding the machines to /etc/hosts will almost 
certainly help with that sort of delay.  Note that you should probably only use 
a "search" line, not "domain" and "search".

-Chuck




More information about the freebsd-questions mailing list