Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
echo '# Disable reverse DNS lookup to prevent slow login' | sudo tee -a /etc/ssh/sshd_config
echo 'UseDNS no' | sudo tee -a /etc/ssh/sshd_config
 
# I don't think you need to restart the ssh service (will update this comment once I have to do it again)

According t the I had to do this websiteto Ask Ubuntu, the reason is due to time-out when doing reverse DNS lookup. This worked to resolve slow connection to one of my Ubuntu 14.04 serverservers. StrangelyHowever, connecting from my same client machine had not problems with to Ubuntu 12.04 . So I am not included to believe the reason. If somebody figures this out please share or add additional observations.had no issues.

In terms of security audit loss I think it is reasonable to turn this off.

...