LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

Rep: Reputation: 15
Delay in SSH login..


Hi,
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 user@192.168.0.xxx without any hostname)

thanks
Lin
 
Old 04-03-2006, 11:48 PM   #2
Capt_Caveman
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
lingeek
LQ Newbie
 
Registered: Feb 2005
Location: USA
Distribution: Debain
Posts: 29

Original Poster
Rep: Reputation: 15
Hi,
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.

thanks,
Lin
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration