Welcome to the most active Linux Forum on the web.
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 08-19-2005, 04:26 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
xinetd + ssh = login delay


I have recently set up xinetd to manage sshd on a server. The problem is that there is approximately a 2 minute delay before ssh authentication (publickey or password) when logging in from some but not all locations. I have determined that this is a firewall related issue. When logging in from windows xp via cygwin+ssh on a certain computer I get the 2 minute delay if either the windows firewall is enabled or if the computer is not placed in the router's dmz. On another computer that is connected to the net via verizon dsl I can't connect w/o the delay even if I'm directly connected to the router and the windows firewall is disabled. Also, if the server runs sshd without xinetd there is never a delay (I need to use xinetd for security purposes).

It seems that there is a handshake that takes place in xinetd or sshd which must time out if certain ports on the client side aren't open. sshd is being launched with the -i flag appropriately. I have looked at the sshd code and can't find a handshake specific to the -i flag, so I think that the problem lies with xinetd.

The question is: what port or ports do I need to enable on the client side? I don't know much about networking so any advice at all is greatly appreciated.

Shawn Lewis


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 01:03 AM
ssh password prompt delay long while chaze Linux - Networking 1 04-14-2005 11:03 PM
Too much delay in ftp/ssh to start anmsg Linux - Networking 8 10-15-2004 07:20 PM
ssh xinetd question 360 Linux - Security 4 10-05-2001 05:37 AM
/etc/xinetd.d/ssh Question 360 Linux - Security 3 09-21-2001 03:09 PM > Forums > Linux Forums > Linux - Networking

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