1. Generate An SSH Key
If you have not already configured one, run the following command to generate an SSH key:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
In this example, “username” represents the cPanel account username and “example” represents the domain name.
After you run this command, the system will prompt you to enter a passphrase.
Do not enter a passphrase.
Press Enter to continue.
2. Verify That You Generated The Ssh Key Correctly
To confirm that the key exists and is in the correct location, run the following command:
3. Add the id_rsal.pub into the repository’s access keys
Just copy paste the above output and you’re good to go!