SSH key managment for many users

0

Hi,

I need to assign ssh key pairs to the EC2 instances for multiple IAM users. So what i want to have:

IAM users [user1,user2,user3], out of them [user1,user2] should have separate (each IAM user should have its own user in VM) SSH access to the [VM-1,VM-2] EC2 instances, and the [user3] should have access only to the [VM-3] instance.

Do i need to generate ssh key pairs, create users inside the EC2 instance, assign permissions for those users - manually, and then also manually add those SSH pub keys in the EC2 instances? Or AWS has service that can do it automatically for me?

Joann

1개 답변
1
수락된 답변

You can do that. But it's additional work that you have to do. However, check out Systems Manager Session Manager as it does a lot of the heavy lifting for you.

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠