Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-21-2009, 12:59 AM   #1
Registered: Aug 2008
Posts: 45

Rep: Reputation: 16
SSH Delay Problem

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

ssh localhost
Is instant password prompt

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

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

UseDNS no
Then restarted sshd.
Old 04-21-2009, 07:29 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Originally Posted by acmeinc View Post
Ha, and as I was writing this I solved my problem

I added this to /etc/ssh/sshd_config

UseDNS no
Then restarted sshd.
Thanks for taking the time to share the solution with us.


settings, ssh, sshd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh delay ? Ammad Linux - General 3 01-03-2009 09:49 PM
Delay in SSH login.. lingeek Linux - Security 2 04-04-2006 05:38 PM
xinetd + ssh = login delay Shawn_Lewis Linux - Networking 0 08-19-2005 03:26 PM
ssh password prompt delay long while chaze Linux - Networking 1 04-14-2005 10:03 PM
Too much delay in ftp/ssh to start anmsg Linux - Networking 8 10-15-2004 06:20 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration