SSH connection by the key
ssh -i ~/miyao.pem root@server_ip
Key To set permissions to read and write only the root user
chmod 600 ~/miyao.pem
Keys can be added to the system, the connection can be removed after the -i option
# Add the following line to the plurality of keys multiple rows IdentityFile ~ / miyao.pem
/etc/ssh/ssh_config