aws / aws-ec2-instance-connect-config

This is the ssh daemon configuration and necessary EC2 instance scripting to enable EC2 Instance Connect. Also included is various package manager configurations for packaging for various Linux distributions.
Apache License 2.0
83 stars 35 forks source link

Support creating users on login #52

Open zeffron opened 1 year ago

zeffron commented 1 year ago

aws ec2-instance-connect send-ssh-public-key (in the AWS CLI) lets me upload an SSH for users that do not exist. This makes sense and is good. I would like to be able to have those users created on-login, though (according to a provided user template, perhaps). Our use case is to allow developers to come and go from the team without needing to manually create accounts for them on our fleet of hundreds of instances to grant them the ability to login to those instances as required.

myoung34 commented 1 year ago

I did a sort of dirty first pass to look into this here