<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;">&gt; Hi Justin-<br>
      &gt; I get prompted for the key before I even connect to the
      cluster master, eg:<br>
      &gt;<br>
      &gt; starcluster sshmaster cluster<br>
      &gt; StarCluster - (<a class="moz-txt-link-freetext" href="http://web.mit.edu/starcluster">http://web.mit.edu/starcluster</a>) (v. 0.93.1)<br>
      &gt; Software Tools for Academics and Researchers (STAR)<br>
      &gt; Please submit bug reports to <a class="moz-txt-link-abbreviated" href="mailto:starcluster@mit.edu">starcluster@mit.edu</a><br>
      &gt;<br>
      &gt; The authenticity of host
      'ec2-50-112-23-169.us-west-2.compute.amazonaws.com
      (50.112.23.169)' can't be established.<br>
      &gt; RSA key fingerprint is
      17:25:7c:44:d8:07:9a:79:ac:56:53:fa:6b:6c:76:1b.<br>
      &gt; Are you sure you want to continue connecting (yes/no)?<br>
      &gt;<br>
      &gt; -D<br>
      &gt;<br>
      &gt; On 02/23/2012 02:52 PM, Justin Riley wrote:<br>
      &gt;&gt;<br>
      &gt; You will not be prompted for host-key checking assuming
      you're running<br>
      &gt; commands, e.g.:<br>
      &gt;<br>
      &gt; $ starcluster sshmaster mycluster 'find /etc -iname \*.conf'<br>
      &gt;<br>
      &gt; HTH,<br>
      &gt;<br>
      &gt; ~Justin<br>
      &gt;<br>
      &gt; On 2/23/12 2:59 PM, David Erickson wrote:<br>
      &gt; &gt;&gt;&gt; Hi is there any way using Starcluster's
      sshmaster/sshnode commands to<br>
      &gt; &gt;&gt;&gt; disable host key checking?<br>
      &gt; &gt;&gt;&gt; EG:<br>
      &gt; &gt;&gt;&gt; UserKnownHostsFile=/dev/null<br>
      &gt; &gt;&gt;&gt; StrictHostKeyChecking=no<br>
      &gt; &gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt; I'd like to script the commands an interactive
      yes/no queries are<br>
      &gt; &gt;&gt;&gt; problematic.<br>
      &gt; &gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt; Thanks,<br>
      &gt; &gt;&gt;&gt; David<br>
      &gt; &gt;&gt;&gt; _______________________________________________<br>
      &gt; &gt;&gt;&gt; StarCluster mailing list<br>
      &gt; &gt;&gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
      &gt; &gt;&gt;&gt;
      <a class="moz-txt-link-freetext" href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
      &gt;<br>
      &gt;&gt;<br>
      &gt;&gt;<br>
      &gt;</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>