Convert openssh key to RSA PEM1 min read 2020-04-12# Generate the ssh key ssh-keygen -t rsa -b 4096 -f /tmp/key # Convert it to a PEM file ssh-keygen -p -m PEM -f /tmp/keyssh