Slow SSH login on Ubuntu

I have recently experienced a slow ssh login issue on ubuntu 13.10 (xubuntu actually).
Tried all kind of solutions from internet, nothing worked, except this:

Edit the following file:
sudo nano /etc/nsswitch.conf

Find the following line:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4


replace with

hosts: files dns

VoilĂ !


Ssh authentication working like a charm!

Comments

Popular posts from this blog

Compare integer variable in django templates

Top things to do after installing Manjaro KDE

PIP - upgrade all packages from requirements.txt (interactively)