ssh password prompt delay

When connecting through ssh locally I often mention a delay after username is entered and before the system is prompting for a password.

An easy way to prevent this delay is to edit:


and add this line

UseDNS no

Restart the ssh daemon after this:

/etc/init.d/ssh restart