Interchange and use of various keys of AWS

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

Guess you like

Origin blog.csdn.net/catscanner/article/details/120042050