LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH Delay Problem (http://www.linuxquestions.org/questions/linux-networking-3/ssh-delay-problem-720579/)

acmeinc 04-21-2009 01:59 AM

SSH Delay Problem
 
I am having trouble figuring out where my delays are SSH'n into my computer.

Code:

ssh localhost
Is instant password prompt

Code:

ssh user@IP
Takes about 20 seconds for a password prompt. The process hangs here (ssh -vvv user@IP):

Code:

debug2: key: /root/.ssh/id_dsa ((nil))
Ha, and as I was writing this I solved my problem :)

I added this to /etc/ssh/sshd_config

Code:

UseDNS no
Then restarted sshd.

win32sux 04-21-2009 08:29 PM

Quote:

Originally Posted by acmeinc (Post 3515855)
Ha, and as I was writing this I solved my problem :)

I added this to /etc/ssh/sshd_config

Code:

UseDNS no
Then restarted sshd.

Thanks for taking the time to share the solution with us.


All times are GMT -5. The time now is 12:23 AM.