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

preguntada hace 5 años214 visualizaciones
1 Respuesta
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
respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas