Find the answer to your Linux question:
Results 1 to 4 of 4
I have been connecting to ssh but now it takes longer time to prompt for username and also password. Can any one tell what is the reason why it takes ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    10

    [SOLVED] SSH delay prompting password

    I have been connecting to ssh but now it takes longer time to prompt for username and also password.
    Can any one tell what is the reason why it takes time?

    Thanks in Advance!

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    11
    ssh is entirely dependant on your internet connection.

    How much time does it take?
    Is the server/desktop cpu usage 100% this could cause slowness.

  3. #3
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    We had a similar problem but it was years ago so I might not get all the information correct. From what I remember apparently sshd gathers some of its entropy from various programs. One of them was the output from netstat. We had a problem with our DNS which was causing netstat to stall thus the long delay before the username/password prompts appeared.

    I suggest you try netstat at command line on the destination system and see if it stalls.

  4. #4
    Just Joined!
    Join Date
    Feb 2009
    Posts
    10
    Yes it was DNS issue. I uncommented on sshd_config file with:
    useDNS no

    Problem solved!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...