0

$ ssh user@host user@host's password: <----- Takes 30-50 seconds to prompt for password

If i use debug

$ ssh -vvv user@host . . . debug1: Local version string SSH-2.0-OpenSH_7.4 <--- Here is where is stuck for 30-50 seconds

waiting for line below, but after that is ok. debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3

  • 2
    is the server attempting DNS lookups? I recall CentOS enabling those by default – thrig Jan 3 at 15:56
  • 1
    Does adding UseDNS no to your sshd_config and restarting the ssh service, solves the problem? – Rui F Ribeiro Jan 3 at 17:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.