AWS EC2 Instance - Linux 2 Add Users

danube100

New Member
Joined
Apr 21, 2020
Messages
1
Reaction score
0
Credits
0
Hi,

I am trying to add a user to a EC2 Amazon Linux 2 Machine and make that user login with ssh key files which have to different for each user.

I create the user by typing sudo adduser username but after that I am getting stuck.

Can someone please guide me after creating the user, how to create his own ssh key that only he can use for login.

Thanks and Best Regards
 

Members online


Top