1. Generate a set of SSH key pair in your server
You would need a public and private of SSH key, theoretically it can be generated in any computer as you like. The following is a sample to generate the key.
ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org"