...and you can tune ssh behavior with respect to timeouts [from ssh man
page]:
ConnectionAttempts
Specifies the number of tries (one per second) to make before
falling back to rsh or exiting. The argument must be an integer.
This may be useful in scripts if the connection sometimes fails.
The default is 4.
Examples:
ssh -o ConnectionAttempts=1 # command line
ConnectionAttempts 1 # in $HOME/.ssh/config
-Galen
--
+
Galen Arnold, system engineer--consulting group arnoldg at ncsa.uiuc.edu
National Center for Supercomputing Applications (217) 244-3473
152 Computer Applications Bldg., 605 E. Spfld. Ave., Champaign, IL 61820