Re: openssh 3.8p1 connect timeouts
From: M Bowman (mic_bowman)
Date: 03/25/04
- Previous message: inbead: "VNC Tunneling problems through SSH"
- In reply to: Darren Dunham: "Re: openssh 3.8p1 connect timeouts"
- Next in thread: all mail refused: "Re: openssh 3.8p1 connect timeouts"
- Reply: all mail refused: "Re: openssh 3.8p1 connect timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 24 Mar 2004 16:53:45 -0800
I can open a TCP connection to the host on the sshd port, but the sshd does
not respond (that is, there is no ssh banner on the connection). The ssh
"connecttimeout" doesn't fire because the connection is made (at least at
the TCP level). The "serveralive" timeout doesn't fire because the
authentication never completed (so the session was never actually created).
It seems to be a sort of "in-between" state that isn't obviously addressed
in the openssh client.
I've tried turning on verbose mode with no obviously helpful results (except
to note that there are no server alive messages sent, no key exchanges, no
server banner sent, etc.). I can telnet directly to the sshd port on the
host and get a connection, but the server never puts up the banner.
Incidentally, the behavior of the ssh client is to hang forever.
--Mic
"Darren Dunham" <ddunham@redwood.taos.com> wrote in message
news:mro8c.42350$dr6.4175@newssvr25.news.prodigy.com...
> M Bowman <mic_bowman at yahoo.com> wrote:
> > i'm trying to write some scripts that automate program execution on a
large
> > number of planetlab machines across the internet... it is not uncommon
for
> > the sshd on those machines to end up in a weird state (e.g. accepting
> > connections but no banner). i've played around with all of the various
> > timeout configuration variables in the open ssh client, but still can't
get
> > ssh to die gracefully under those circumstances. the obvious solution is
to
> > add a timeout to the wrapper (which i have done), but the granularity of
the
> > timeout is pretty large (some of the remote apps take a while to run) so
i'd
> > rather have ssh just tell me that it couldn't connect. any ideas????
>
> But above, you say that ssh does accept connections.
>
> It sounds to me like ssh is okay but the shell is having problems
> starting. Are you sure its an sshd issue? Can you generate a '-v'
> output of a connection attempt to see where it's hanging?
>
> SSH is able to quickly return if the connection fails, but I suspect
> that the connection is succeeding and some later portion of the
> communication is hanging.
>
> --
> Darren Dunham ddunham@taos.com
> Senior Technical Consultant TAOS http://www.taos.com/
> Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >
- Previous message: inbead: "VNC Tunneling problems through SSH"
- In reply to: Darren Dunham: "Re: openssh 3.8p1 connect timeouts"
- Next in thread: all mail refused: "Re: openssh 3.8p1 connect timeouts"
- Reply: all mail refused: "Re: openssh 3.8p1 connect timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|