tto
/ docs
/ azure
/ ssh keys for azure
create ssh2 key for azure
first create a RSA key, azure does not currently support ed25519.
ssh-keygen -t rsa -m PEM -b 4096
then convert the key to ssh2:
ssh-keygen -f ~/id_rsa.pub -e -m RFC4716 > ~/id_ssh2.pem