Skip to content

Instantly share code, notes, and snippets.

@MilesDowe
Created September 23, 2021 22:10
Show Gist options
  • Save MilesDowe/1b987ba73309968cdddb0b6bb72af93d to your computer and use it in GitHub Desktop.
Save MilesDowe/1b987ba73309968cdddb0b6bb72af93d to your computer and use it in GitHub Desktop.

Had EC2 servers suddenly be really slow to log in. Was able to resolve by:

  1. Editing /etc/ssh/sshd_config to set UseDNS no.
    • This seemingly doesn't provide any added security, AFAIK.
  2. Restarting the service with sudo /sbin/service sshd restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment