Step 1: Generate first ssh key Type the following command to generate your first public and private key on a local workstation. Next provide the required input or accept the defaults. Please do not change the filename and directory location.
workstation 1 $ ssh-keygen -t rsa
Finally, copy your public key to your remote server using scp