The SSH host keys are printed to the console during boot, so you can
use "euca-get-console-output <instance ID>" to see this.  It will have
two separate keys.  You want to add the one starting with "ssh-rsa" to
your ~/.ssh/known_hosts.  Scripting it like this worked for me:

IID=i-5b46873c  # your instance ID goes here
echo $( euca-describe-instances $IID | grep $IID | awk '{ print $4 }' ) \
$( euca-get-console-output $IID | grep ^ssh-rsa ) >> ~/.ssh/known_hosts

hope this helps.

  Andy

On Mon, Apr 9, 2012 at 9:14 AM, Alan Gutierrez <a...@prettyrobots.com> wrote:
> How do I verify the SSH fingerprint of one of the public Fedora 16 Cloud
> images when I first start it?
>
> --
> Alan Gutierrez - @bigeasy
> _______________________________________________
> cloud mailing list
> cloud@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/cloud
_______________________________________________
cloud mailing list
cloud@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud

Reply via email to