SSH key managment for multiple accounts
Hi, We need to achieve:
1) Possibility to create/delete ssh key pairs for instances hosted in multiple accounts, in one place (centralization) 2) Possibility to assign permissions for the user we are ssh'ing into inside the instance, for example : IAM - admin user, should have admin ssh key, which will give full read/write permissions in virtual machine in which user is ssh'ing, and the IAM - support user, should have support ssh key, which will give less permissions.
Any suggestions, in what we can look into, are welcome. As i googled a bit, the "AWS system manager" - "session manager" looks like it would work for us, but does it work for instances hosted in multiple accounts?
Yes, this is possible using roles in the different accounts. Here is an example of how one organization set this up, Replacing SSH access to reduce management and security overhead with AWS Systems Manager.
Additionally, please note you can also use AWS Secrets Manager to securely store and rotate SSH key pairs
ssh key-pair anomaly on copying AMIasked 5 months ago
Regression on being able to set SSH key for Gitasked 3 years ago
Unable to access SSH for EC-2asked 18 days ago
How to have multiple VPCs in different AWS accounts use the same physical AWS Direct Connect circuit.Accepted Answerasked 4 years ago
For new user how to create and share private key ? [Managing User Accounts.asked 3 years ago
SSH key managment for many usersAccepted Answerasked 16 days ago
SSH key managment for multiple accountsAccepted Answerasked 19 days ago
Assign Multiple Values to a Single key tag In AWSasked 2 months ago
How long does the one-time use SSH public key expire?Accepted Answerasked 3 years ago
Add Amplify deploy key to multiple github repositories?asked 3 years ago