[cs615asa] How to get ec2 default username
Yifang Yuan
yyuan17 at stevens.edu
Thu May 17 08:13:04 EDT 2018
Why don’t you specify the AMI of system when you create instance? If you choose ubuntu, username is always ubuntu
> On May 17, 2018, at 05:21, Zhengkai Wei <zwei11 at stevens.edu> wrote:
>
> Hi,
>
> Is anyone know elegant way to get ec2 default username?
>
> I find two way to get username one way is use ‘root' as username and use 'sudo ssh’, But I’m not sure in real environment we can using sudo or not.
>
> Another way is try every possible. I don’t think that is a good idea.
>
> Any one know any better way?
>
> I don’t know the user setting of EC2_BACKUP_FLAGS_AWS that means I don’t know the operation system I need backup on.
>
> The different system need use different username to login ex. ec2_user ,ubuntu, root …
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
More information about the cs615asa
mailing list