ORBIT-USER: Re: Orbit handler unable to connect via ssh.

Andrea G Forte andreaf at cs.columbia.edu
Wed Jan 10 14:15:41 EST 2007


Thanks a lot. I had to modify one of the scripts but it seems to work.

Thanks again,
-Andrea


Mesut Ali Ergin wrote:
> I usually get around with it via an expect script, called by a bash 
> script (yes, I was too lazy to find out how to loop in expect :) for 
> the set of nodes you want to process. Such as
>
> EXPECT SCRIPT
> ===================
> #!/usr/bin/expect -f
>
> spawn /usr/bin/ssh root@[lindex $argv 0] touch /tmp/1
> expect "(yes/no)?"
> send -- "yes\r"
> expect "yes"
>
>
> BASH SCRIPT
> ===================
> #!/bin/bash
>
> for node in `cat /path/to/nodelistfile`
> do
>   ./above_expect_script $node
> done
>
>
> You can also download public keys from each node and put them into 
> your .ssh/known_hosts file.
>
> Good luck,
>




More information about the orbit-user mailing list