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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则