Re: use openssh in script for timeout
From: all mail refused (elvis_at_notatla.org.uk)
Date: 03/13/04
- Next message: Rishi Chopra: "Port For Control And Transfer"
- Previous message: Robert: "Re: OpenSSH and /dev/urandom"
- In reply to: hmc: "use openssh in script for timeout"
- Next in thread: Michael Heiming: "Re: use openssh in script for timeout"
- Reply: Michael Heiming: "Re: use openssh in script for timeout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 13 Mar 2004 14:40:51 GMT
In article <k9p450l1sl433fn7bf5mumdgqnju7balst@4ax.com>, hmc wrote:
>I have a bash script that use openssh to go to a list of machines to
>run a program.
>I want the script to try the next host if the current host does not
>response in a certain period or prompt for password.
>Is there a option to do this?
Can be done with alarm() but I don't think bash has it. YA reason to use Perl.
There are also several existing scripts for this sort of thing - reaching
a set number of hosts concurrently, logging each output etc etc.
-- Elvis Notargiacomo master AT barefaced DOT cheek
- Next message: Rishi Chopra: "Port For Control And Transfer"
- Previous message: Robert: "Re: OpenSSH and /dev/urandom"
- In reply to: hmc: "use openssh in script for timeout"
- Next in thread: Michael Heiming: "Re: use openssh in script for timeout"
- Reply: Michael Heiming: "Re: use openssh in script for timeout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|