slow ssh connect to host from openstack vm

slow ssh connect to host from openstack vm

2014/01/18 Openstack Titan 0

if you having a slow-login problem when you are trying to connect ssh from the openstack vm to the outside world. This will solve the issue:

Edit /etc/nsswitch.conf , change “hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4” to “hosts: files dns”, no need to restart anything, ssh login prompt will come out quickly.