Comment 4 for bug 506981

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 506981] Re: ec2-fetch-credentials lists "ubuntu" user in root authorized_keys even if ec2-config.cfg specifies another

On Wed, 13 Jan 2010, Eric Hammond wrote:

> Scott: Fair point. Perhaps if it is not "ubuntu", then we assume the
> AMI builder knows what they are doing and we completely disable root ssh
> by not updating /root/.ssh/authorized_keys (assuming root really is
> disabled in the config). I still think it's a bug that it points the
> user to "ubuntu" when that account does not exist.

What about changing the message to always say "try logging in with the
configured user per your documentation" ? Ie, never give an 'ubuntu'
hint.