ec2-macos-init icon indicating copy to clipboard operation
ec2-macos-init copied to clipboard

provision new user with ssh key

Open zoezhangmattr opened this issue 7 months ago • 1 comments

i am new to this functionality, i was wondering what is the good way to provision another user, for example macadmin , (i know the existent default user is ec2-user), and let it have the ability to consume ssh key like ec2-user as well. is it using the module or user-data. and what is the lifecycle of it. does it provision the user before instance is ready. so that i can use this user to ssh to the mac instance.

any guidance is appreciated. thanks a lot.

zoezhangmattr avatar Jul 31 '24 23:07 zoezhangmattr