How to Setup Password less SSH Login on EC2 (Amazon Linux)
Step 1: Generate an SSH Key Pair
ssh-keygen -t rsa -m PEM
After the keys are generated, you can check them using this command:
ls -lah ~/.ssh
You should see private key and public key.
cd ~/.ssh
cat id_rsa.pub #for public key
cat id_rsa #for ...
bhuppi.hashnode.dev1 min read