πChanging keys
# Make a new key
ssh-keygen -b 4096 -m PEM -f <the-name-of-your-key>.pem
# Remove the public key from your system
rm <the-name-of-your-key>.pub
# Change permissions on the key
chmod 400 <the-name-of-your-key>.pem
# Read and copy the public key
ssh-keygen -y -f <the-name-of-your-key>.pem# From your home directory do:
nano .ssh/authorized_keys
# Paste the public key in a second line and saveLast updated