<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Right, in this case you're logging in interactively which will never
work without stalling in a script even without strict host key
checking.<br>
<br>
Simply running:<br>
<br>
$ starcluster sshmaster mycluster<br>
<br>
will log you in interactively just like using ssh manually. This
mode can never be used in a script without stalling. If you
additionally pass a command (in single quotes) to run as I showed in
my previous message it will execute the command without prompting
for host-key, print the output to your screen, and exit.<br>
<br>
Make sense?<br>
<br>
HTH,<br>
<br>
~Justin<br>
<br>
<br>
On 2/23/12 5:57 PM, David Erickson wrote:<br>
<span style="white-space: pre;">> Hi Justin-<br>
> I get prompted for the key before I even connect to the
cluster master, eg:<br>
><br>
> starcluster sshmaster cluster<br>
> StarCluster - (<a class="moz-txt-link-freetext" href="http://web.mit.edu/starcluster">http://web.mit.edu/starcluster</a>) (v. 0.93.1)<br>
> Software Tools for Academics and Researchers (STAR)<br>
> Please submit bug reports to <a class="moz-txt-link-abbreviated" href="mailto:starcluster@mit.edu">starcluster@mit.edu</a><br>
><br>
> The authenticity of host
'ec2-50-112-23-169.us-west-2.compute.amazonaws.com
(50.112.23.169)' can't be established.<br>
> RSA key fingerprint is
17:25:7c:44:d8:07:9a:79:ac:56:53:fa:6b:6c:76:1b.<br>
> Are you sure you want to continue connecting (yes/no)?<br>
><br>
> -D<br>
><br>
> On 02/23/2012 02:52 PM, Justin Riley wrote:<br>
>><br>
> You will not be prompted for host-key checking assuming
you're running<br>
> commands, e.g.:<br>
><br>
> $ starcluster sshmaster mycluster 'find /etc -iname \*.conf'<br>
><br>
> HTH,<br>
><br>
> ~Justin<br>
><br>
> On 2/23/12 2:59 PM, David Erickson wrote:<br>
> >>> Hi is there any way using Starcluster's
sshmaster/sshnode commands to<br>
> >>> disable host key checking?<br>
> >>> EG:<br>
> >>> UserKnownHostsFile=/dev/null<br>
> >>> StrictHostKeyChecking=no<br>
> >>><br>
> >>> I'd like to script the commands an interactive
yes/no queries are<br>
> >>> problematic.<br>
> >>><br>
> >>> Thanks,<br>
> >>> David<br>
> >>> _______________________________________________<br>
> >>> StarCluster mailing list<br>
> >>> <a class="moz-txt-link-abbreviated" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
> >>>
<a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
><br>
>><br>
>><br>
></span><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk9GxboACgkQ4llAkMfDcrkq0ACeImGtBEeQuYOlKmctJcYRWc5W<br>
lyEAnRtTg3rZ4a67FBaypHT4bj3h7TUb<br>
=WsNt<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>