> When the "user" is set to another username, say "bilbo", then ec2-fetch-
> credentials correctly installs the authorized_keys in the bilbo home
> .ssh directory on first boot.
>
> However, when you ssh to root@ the new EC2 instance, you always get the
> message:
>
>   Please login as the ubuntu user rather than root user.

Hmm... That could be fixed, but I wonder if in general this is a bad idea.
The message informs an attacker of a valid user on the system.

-- 
ec2-fetch-credentials lists "ubuntu" user in root authorized_keys even if 
ec2-config.cfg specifies another
https://bugs.launchpad.net/bugs/506981
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to