Generating SSH keys Generating private and public keys ssh-keygen -t rsa -b 4096 -q -f "/home/bill/.ssh/id_rsa" -N "" Generating PEM file cp "/home/bill/.ssh/id_rsa" "/home/bill/bill.pem" Registering the public key cat /home/bill/.ssh/id_rsa.pub >> /home/bill/.ssh/authorized_keys