Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-03-2006, 06:23 PM   #1
LQ Newbie
Registered: Feb 2005
Location: USA
Distribution: Debain
Posts: 29

Rep: Reputation: 15
Delay in SSH login..

I have CentOS 4.3 running on my AMD Athlon XP(32 bit) PC and Windows 2000 running on my other Intel P3 PC(These 2 PCs are connected using a network switch). Basically I use the one running Linux as back end server and everything was fine so far. But recently I am experiencing some delay in loggin in to CentOS through SSH.

The Putty client which I use generally opens up asking for username prompt(no delay in that) but after entering the password it takes atleast 10-15 seconds gap before I logged in.
It was fine before and I am sure I didn't made any changes to linux configuration. Can anyone please help me with this issue.

By the way I always use the IP address like($ ssh without any hostname)

Old 04-03-2006, 11:48 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Try starting the SSH daemon into debug/verbose mode (-ddd) and take a look at the log of a client login session to see if you can observe where it's hanging.
Old 04-04-2006, 05:38 PM   #3
LQ Newbie
Registered: Feb 2005
Location: USA
Distribution: Debain
Posts: 29

Original Poster
Rep: Reputation: 15
I figured out the problem. It was because of the reverse DNS lookup enabled by the SSHD. I disbaled it using 'UseDNS no' and now everything is perfect.



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
Putty Login Delay joadoor Linux - Networking 5 12-09-2005 12:03 AM
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
Delay during GNOME login/logout -> devfsd Romendo Mandriva 0 09-02-2004 04:49 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:22 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