Better rsh with timeout option?
arnoldg at ncsa.uiuc.edu
Fri Feb 8 06:54:23 PST 2002
...and you can tune ssh behavior with respect to timeouts [from ssh man
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.
ssh -o ConnectionAttempts=1 # command line
ConnectionAttempts 1 # in $HOME/.ssh/config
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
More information about the Beowulf