Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-18-2003, 12:55 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
SSH Hangs (not due to DNS problems!)


Whenever I login to my server using SSH protocol (via putty), I immediately get a typical "login as:" prompt. If I enter a valid username, then the system hangs for quite a while (a minute or so) then prompts me for the password.

However, If I enter an invalid username, then there is no delay at all, and the password prompt comes immediately.

In the past, I've experienced lots of hanging due to reverse DNS problems, but this isn't the issue here, as I'm connecting via IP address; DNS isn't involved.

So, what gives? Any ideas?

Thanks a bunch,

Last edited by diberri; 07-18-2003 at 01:02 AM.
Old 07-18-2003, 01:07 AM   #2
Registered: Jan 2002
Distribution: Debian Based only but have tried most others.
Posts: 82

Rep: Reputation: 15
Can you give anymore information? Has it always done this, have you changed something, who are you trying to log in as?

I am not sure if I can help you because SSH has always worked flawless for me but a little more info might shed some light.
Old 07-18-2003, 01:26 AM   #3
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Could it be identd?
Old 07-21-2003, 08:47 PM   #4
LQ Newbie
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0

It's always behaved this way; nothing's changed.

I'm not sure what you're getting at with the "who are you trying to log in as?" question, but if you're wondering, this behavior happens when I try to log in with any valid account (anything from /etc/passwd). If I give a bogus name, like iamcrazylksjdf, the system responds immediately and asks for my password. I've always thought that was pretty weird.


I'm not familiar with identd. How does it relate to SSH?
Old 07-22-2003, 11:18 AM   #5
Registered: Jan 2002
Distribution: Debian Based only but have tried most others.
Posts: 82

Rep: Reputation: 15
After thinking about it for a bit I think you can get this behavior if you are running tcp wrappers. check your /etc/host.deny file and see if it has any entries. Thats a real long shot but not sure what else it could be.

What ssh client are you using to try use to ssh in to your box?


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
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
Random System Hangs (Due to HD problems? ) webnoelle Linux - Hardware 2 07-28-2004 07:31 PM
eMail Blocked due to Reverse DNS Issue VorlonInfoTech Linux - Networking 4 06-23-2004 04:23 PM
while loop failure due to ssh hurny^ Programming 1 05-04-2004 03:00 PM
Router hangs due to Linux7.1 domino mail server chandra Linux - Newbie 0 06-20-2002 05:00 AM > Forums > Linux Forums > Linux - Software

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