how to convert rsa private key to pem code example
Example 1: ssh rsa pub to pem
ssh-keygen -f key.pub -e -m pem
Example 2: ssh rsa pub to pem
openssl rsa -in id_rsa -pubout -out id_rsa.pub.pem
ssh-keygen -f key.pub -e -m pem
openssl rsa -in id_rsa -pubout -out id_rsa.pub.pem