Why does SSH login take so long to authenticate?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Niheel
    Recognized Expert Moderator Top Contributor
    • Jul 2005
    • 2432

    Why does SSH login take so long to authenticate?

    Recently few servers that I maintain for clients are taking a long time to authenticate when I try to SSH into them.

    Does anyone have any reason why this is happening? and is there a fix?
    niheel @ bytes
  • Niheel
    Recognized Expert Moderator Top Contributor
    • Jul 2005
    • 2432

    #2
    Solved this problem by making sure that the DNS had proper nameservers.

    edit the file

    /etc/resolv.conf

    and add the proper name servers to for example:

    Code:
    nameserver 76.96.54.12 
    nameserver 76.96.54.13
    Save and restart
    niheel @ bytes

    Comment

    Working...