LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-21-2009, 12:59 AM   #1
acmeinc
Member
 
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.

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.
 
Old 04-21-2009, 07:29 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
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

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


Reply

Tags
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


All times are GMT -5. The time now is 01:54 AM.

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