For new user how to create and share private key ? [Managing User Accounts.

0

I'm new to AWS and referring to https://docs.aws.amazon.com/en_pv/AWSEC2/latest/UserGuide/managing-users.html ( Managing User Accounts on Your Linux Instance )
In this page they mention

"..The user should now be able to log into the newuser account on your instance using the private key that corresponds to the public key that you added to the authorized_keys file..."

who will create private key for new users and how to share with them ?

Thanks & Regards,
Vikram

질문됨 5년 전214회 조회
1개 답변
0

Hi Vikram

Consider asking the user to create the private key herself and send the public key to you, rather than creating private keys for your user. That way you avoid the problem of having to protect the private key in transit (part of the key distribution problem https://en.wikipedia.org/wiki/Key_distribution).

How to here:
https://docs.aws.amazon.com/en_pv/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws
Best
Andreas

Faffen
답변함 5년 전

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

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

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

관련 콘텐츠