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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ