AWS EC2 Instance - Linux 2 Add Users

danube100

New Member
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
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top