[cs615asa] How to get ec2 default username

Zhengkai Wei zwei11 at stevens.edu
Thu May 17 05:21:55 EDT 2018


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 …



More information about the cs615asa mailing list