ssh-keygen installation please refer to the following: https://blog.csdn.net/a419419/article/details/80021684
(I may have git installed, so no need to install, the details of his degree of your mother go)
Increase public / private key file method :
keygen -t rsa -b-SSH 2048 -C "Here is a comment, just fill in on the line ."
If the .ssh folder does not exist, you have to create (File folders beginning with how to create your own degree of your mother)
Public_key.der file and generate private_key.der
// generate a private key file
openssl pkcs8 -topk8 -inform PEM -outform DER -in id_rsa -out private_key.der -nocrypt
// generate a public key file
openssl rsa -in id_rsa -pubout -outform DER -out public_key.der