-----BEGIN PGP SIGNED MESSAGE-----
Right, in this case you're logging in interactively which will never
work without stalling in a script even without strict host key checking.
$ starcluster sshmaster mycluster
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.
On 2/23/12 5:57 PM, David Erickson wrote:
> Hi Justin-
> I get prompted for the key before I even connect to the cluster master, eg:
> starcluster sshmaster cluster
> StarCluster - (http://web.mit.edu/starcluster) (v. 0.93.1)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster_at_mit.edu
> The authenticity of host
can't be established.
> RSA key fingerprint is 17:25:7c:44:d8:07:9a:79:ac:56:53:fa:6b:6c:76:1b.
> Are you sure you want to continue connecting (yes/no)?
> On 02/23/2012 02:52 PM, Justin Riley wrote:
> You will not be prompted for host-key checking assuming you're running
> commands, e.g.:
> $ starcluster sshmaster mycluster 'find /etc -iname \*.conf'
> On 2/23/12 2:59 PM, David Erickson wrote:
> >>> Hi is there any way using Starcluster's sshmaster/sshnode commands to
> >>> disable host key checking?
> >>> EG:
> >>> UserKnownHostsFile=/dev/null
> >>> StrictHostKeyChecking=no
> >>> I'd like to script the commands an interactive yes/no queries are
> >>> problematic.
> >>> Thanks,
> >>> David
> >>> _______________________________________________
> >>> StarCluster mailing list
> >>> StarCluster_at_mit.edu
> >>> http://mailman.mit.edu/mailman/listinfo/starcluster
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
Received on Thu Feb 23 2012 - 18:03:24 EST