Re: openssh 3.8p1 connect timeouts

From: M Bowman (mic_bowman)
Date: 03/25/04

  • Next message: Samjack: "Re: VNC Tunneling problems through SSH"
    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. >


  • Next message: Samjack: "Re: VNC Tunneling problems through SSH"

    Relevant Pages

    • Re: What is The SSH?
      ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
      (microsoft.public.windows.server.networking)
    • Re: Problem connecting to SSH, OpenVMS7.3-2, HP TCP/IP v5.4 patched
      ... warning: Authentication failed. ... connection lost (Connection closed by remote host.). ... So, as you can see, I am trying to make an ssh connection with the ...
      (comp.os.vms)
    • Re: Keeping OpenSSH connections alive
      ... The TCP connection is timing out, not the SSH session. ... You can then, reconnect to the backgrounded screen session, upon relogin. ...
      (SSH)
    • Re: Remote Desktop Connection
      ... You can try a free two user version of SSL-Explorer to try it out. ... SSL-Explorer also supports a web based RDC and VNC access to desktop PCs on your network. ... OpenVPN is completely free like SSH. ... What if i have a linkys WiFi router, and does not have vpn feature, how could i secure the connection? ...
      (microsoft.public.windowsxp.work_remotely)
    • ssh connections hang; un-hang on subsequent connection
      ... I'm experiencing a strange problem with ssh connections to my ssh server ... I can make an initial connection to my ssh server fine. ... When I re-connect with ssh, the first session "thaws" and all ...
      (comp.security.ssh)