Re: SSH connection pause
- From: theredmini@xxxxxxxxx
- Date: 25 May 2007 04:48:27 -0700
On May 24, 7:51 pm, p...@xxxxxxxxxxxx (Per Hedeland) wrote:
<snip>
The IDENT connections go from server to client, which is one reason that
they occasionally cause "strange" problems. But per above and everything
else you wrote, this isn't a likely cause. Try running the *server* in
debug mode, you may get some clues from where the output pauses. And/or
if there is something like 'strace' or 'truss' on AIX, it can be very a
useful tool to figure out what is going on.
--Per Hedeland
p...@xxxxxxxxxxxx
Per, you suggested I try running the *server* in debug mode
(previously I've only been running the client in debug mode). This
sounds like a sensible course of action, so I gave it a go, and got
some pretty strange results.
I started the sshd in debug mode, after stopping the currently running
sshd server. I then tried connecting from the client that I've been
using all along and.... it connected with no delay. This I found very
odd, as it appeared that restarting the sshd had fixed the problem,
but I'd tried this before several times. Further investigation shows
that the sshd works fine until I attempt to connect to it from a
client that cannot be resolved via a reverse lookup. In this case, I
see output like "debug3: Trying to reverse map address <IP address>"
and it hangs like previously, which I guess is to be expected.
Now for the interesting bit ;-) If I then attempt a connection to the
server from the client who's address *can* be resolved via reverse
lookup.... it hangs again!?! As far as I can tell, the sshd works fine
until I attempt a connection from a source who cannot be reverse
looked up. Any subsequent connections, whether or not their addresses
can be resolved successfully will experience the pause during the
lookup. I don't understand why this is happening, but I intend to test
various scenarios to see if I can find a cause. This will be a little
difficult, as I can't just stop/start the sshd at any time. I might
look into starting the sshd in debug mode on a different port, so I
don't have to stop the currently running daemon.
Thanks for your help so far, I'll report back with what I find...
Cheers,
Neil
.
- Follow-Ups:
- Re: SSH connection pause
- From: Per Hedeland
- Re: SSH connection pause
- References:
- SSH connection pause
- From: theredmini
- Re: SSH connection pause
- From: Per Hedeland
- Re: SSH connection pause
- From: theredmini
- Re: SSH connection pause
- From: Per Hedeland
- SSH connection pause
- Prev by Date: Re: SSH connection pause
- Next by Date: Re: Scripting In Putty Error
- Previous by thread: Re: SSH connection pause
- Next by thread: Re: SSH connection pause
- Index(es):
Relevant Pages
|
|