[Bug 893400] Re: cloud-init: Output machine usable public ssh host key (for known_hosts)

2011-11-21 Thread Eric Hammond
** Description changed: In bug #892554, Kees Cook (kees) makes a great suggestion that cloud- init could output the public ssh host keys to the console output. This could then be read by automated software outside of the instance and added to a known_hosts file using the IP address and/or

[Bug 893400] Re: cloud-init: Output machine usable public ssh host key (for known_hosts)

2011-11-21 Thread Eric Hammond
I've ammended the original example to use "cat" instead of "cut" as it looks like the specific number of fields in the key may vary for some older formats (rsa1) and it removes the objection that I invented anything. I had been hoping to exclude the comment field, but agree it's not worth the effo

[Bug 893400] Re: cloud-init: Output machine usable public ssh host key (for known_hosts)

2011-11-21 Thread Scott Moser
** Changed in: cloud-init (Ubuntu) Importance: Undecided => Low ** Changed in: cloud-init (Ubuntu) Status: New => Triaged ** Changed in: cloud-init Status: New => Triaged ** Changed in: cloud-init Importance: Undecided => Low -- You received this bug notification because yo

[Bug 893400] Re: cloud-init: Output machine usable public ssh host key (for known_hosts)

2011-11-21 Thread Eric Hammond
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/893400 Title: cloud-init: Output machine usable public ssh host key (for known_hosts) To manage notifications about this bug go t