azure vm ssh slow to connect

Goto:

$ sudo vim /etc/ssh/sshd_config

Include:

UseDNS no

Reboot ssh

sudo service ssh restart
Advertisements