Generate SSH keys
You can use the following Linux command to generate SSH public and private keys.
Please login as the designated user before you execute this command.
ssh-keygen
The command will ask you where to place the keys. The default directory will be in ~/.ssh/
The output files are:
Private key: ~/.ssh/id_rsa
Public key: ~/.ssh/id_rsa.pub