openssh 3.8p1 connect timeouts

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


Date: Wed, 24 Mar 2004 14:51:04 -0800

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????

--mic



Relevant Pages

  • Re: openssh 3.8p1 connect timeouts
    ... > number of planetlab machines across the internet... ... > ssh to die gracefully under those circumstances. ... > add a timeout to the wrapper, ... SSH is able to quickly return if the connection fails, ...
    (comp.security.ssh)
  • Re: Really need help on this one
    ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ... # in eof ...
    (comp.lang.tcl)
  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)
  • Re: SSH Timeout Notification
    ... I'm writing a program that would like to be notified when a timeout ... occurs in the SSH connection. ... The disconnect message in the SSH tranport protocol defines a number of ...
    (comp.security.ssh)
  • Re: SSH session
    ... This is the standard vty session inactivity timeout kicking in. ... To configure Secure Shell (SSH) control parameters on your router, ...
    (comp.dcom.sys.cisco)