Re: SSH Fingerprint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <alan@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/cloud
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux