On 22/03/15 12:50, Gabor Szabo wrote: > Hi, > It takes ages to ssh to it, once I got to the machine I can ping IP > addresses from it, but I cannot ping anything with a hostname. > Add to the sshd_config file the following line: UseDNS no
This will speed up the ssh connection regardless of whether DNS is resolving properly. In theory, there is a reason ssh requires reverse DNS lookup. I never managed to find out what it was (except making the logs more pretty, which is a very small reward for such a huge price to pay). Shachar
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il