Convert pemkey to ssh-rsa
ssh-keygen -y -f 1.pem > 1.rsa
Add it to the authentication of ec2, you can also modify
cat 1.rsa >> ~/.ssh/authorized_keys
When Windows logs in, use puttygen.exe to convert pem to ppk, check ssh-1 (rsa), save privatekey
Convert pemkey to ssh-rsa
ssh-keygen -y -f 1.pem > 1.rsa
Add it to the authentication of ec2, you can also modify
cat 1.rsa >> ~/.ssh/authorized_keys
When Windows logs in, use puttygen.exe to convert pem to ppk, check ssh-1 (rsa), save privatekey