Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No import users ala aws-ec2-ssh ? #31

Open
bedge opened this issue Mar 29, 2021 · 1 comment
Open

No import users ala aws-ec2-ssh ? #31

bedge opened this issue Mar 29, 2021 · 1 comment

Comments

@bedge
Copy link

bedge commented Mar 29, 2021

This package is linked from https://github.com/widdix/aws-ec2-ssh as a replacement:

June 2019: Check out Amazon EC2 Instance Connect as a replacement for this project

However there's one component I don't see here - the bulk import of IAM users into local users onto the AWS linux instance.

Is there some other mechanism that is intended to handle that function, or is this package intended solely to provide access using a single user ID, ie: ubuntu or ec2-user depending on your linux variant?

@ohitspaul
Copy link
Contributor

Hi @bedge - EC2 Instance Connect has a different approach to SSH than aws-ec2-ssh. It looks like that package's goal is to automatically copy over IAM users along with their associated public key(s), and use those public keys to SSH onto the users on the instance matching the IAM users.

EC2 Instance Connect (EIC) on the instance is not intended to create users on the instance to match IAM users. You can provide access to other users than the default depending on the OS variant, but you must create those users on your own first - EIC has no relation to what users are created and configured on the instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants