~ / .Ssh / authorized_keys public key file into memory .pub, take effect after logout
PS:
1. Create an SSH key pair
keygen-SSH
- t rsa algorithm specified file -f specify the key store.
2. Principle
The machine received random characters, private key encryption, linux public key decrypted confirmation is OK.