[StarCluster] Disabling hostkey checking for SSH?

David Erickson derickso at stanford.edu
Thu Feb 23 17:57:50 EST 2012


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 
'ec2-50-112-23-169.us-west-2.compute.amazonaws.com (50.112.23.169)' 
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)?

-D

On 02/23/2012 02:52 PM, Justin Riley wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You will not be prompted for host-key checking assuming you're running
> commands, e.g.:
>
> $ starcluster sshmaster mycluster 'find /etc -iname \*.conf'
>
> HTH,
>
> ~Justin
>
> 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/
>
> iEYEARECAAYFAk9GwzsACgkQ4llAkMfDcrmWyACgj7+CPzLaW5UiVFrXk3reLWlc
> zN4AnR7c/sAyHT3AOft7z6McFLWkczYR
> =khFG
> -----END PGP SIGNATURE-----
>
>



More information about the StarCluster mailing list