Creating Users To Use Pem Key and Password On Linux
Creating Users To Use Pem Key and Password On Linux
But for this lab, we will use the key pair that has been created already, KeyPair.
2) Generate .ppk file using the pem key you created for Linux instances.
Launch PuttyGen to do that.
Click on Load to load .pem keypair created.
Browse Private key pair for authentication to select the KeyPair.ppk you generated above.
4) Create a new User, the user created will use the same keypair generated to logon to the
same instance.
sudo su – Nendir
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCwLxHaaBR+v5tBsNUbPHnU3F1mW8+JGbLVfwF+W
udPf3HorNPkoe9BCW76TuzybhD7FHgREjT3ehU0AS3gjRwuMGbD0jDIPaHqkd+hpc4CIlTu89w
sasiQSSS3P5c43TgyiZJKhlu7uJACABnj6IUimiQReoMD89BhPhEtgurzQt8OhEEFDXQrYWULt4I5
2+B+CINZfzKe0CsndjkvG7q1zAffNiWxPidP116AkhdurW2sAn1WFgR21xEblC6hWW/XT/tOYm
MSUJ4AivvCCXF88+409R36aaEcAsIgSkuB3JQWQZADnR1T/FJD6PlhgNIFfkgaxd1ZNGxbd4uyMr
iT imported-openssh-key
Save the file.
:wq
Next, goto Putty to Logon to the Server using the new user created (Nendir)
Click on Credentials to add the key pair
Logon Successfully.
You can follow the same process to created users to be using different Key Pairs. You have to
then create key pair for each user differentially using the steps highlighted above for creating
key pairs.
Next: Creating users to logon using Password not Key pairs this time.
2)
3)