[StarCluster] suppressing interactive confirmation for ssh

David Erickson derickso at stanford.edu
Tue Dec 11 14:07:12 EST 2012


Steve-
You shouldn't get the confirmation if you provide sshmaster/node with an 
actual command to run in non-interactive mode, give it a go.

On 12/11/2012 9:47 AM, Steve Jaffe wrote:
> Hi,
>
> For scripting purposes I'd like to suppress the ssh confirmation after creating a new cluster and running sshnode (or sshmaster).
>
> Does anyone know how?
>
> Related question: is there any documentation on using the starcluster python api directly rather than via the 'starcluster' executable? It seems rather silly to write a python script that runs starcluster commands via system calls but I haven't found any way to get into the details of the API, other than trying to reverse-engineer the starcluster commands.

I haven't seen any docs, but you could write plugins to do whatever you 
are looking for then trigger them with starcluster commands.

-D


More information about the StarCluster mailing list