Re: openssh 3.8p1 connect timeouts

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 03/25/04

  • Next message: inbead: "VNC Tunneling problems through SSH"
    Date: Wed, 24 Mar 2004 23:01:38 GMT
    
    

    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: inbead: "VNC Tunneling problems through SSH"

    Relevant Pages

    • Re: Dropping SSH connections over the internet
      ... Some times the second connection will be interrupted as well. ... As the previous 2 posters said, SSH is ... the router at my workplace has a timeout and just drops connections ...
      (Ubuntu)
    • openssh 3.8p1 connect timeouts
      ... number of planetlab machines across the internet... ... the sshd on those machines to end up in a weird state (e.g. accepting ... ssh to die gracefully under those circumstances. ... add a timeout to the wrapper, ...
      (comp.security.ssh)
    • Re: Connection timeouts with SSH and CVS
      ... >> I'm having problems using SSH and CVS at my work. ... they timeout before anything starts. ... SSH connection) just fine. ...
      (Debian-User)
    • 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)