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

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

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu