ssh -Vssh-keygen -t rsa -b 2048 -C "email@example.com"- When prompted for passphrase give a password to use RSA key in future ***Do not forget this passphrase ***
- Copy key from "/home/user/.ssh/id_rsa.pub into your hosting service provider settings.
- Start SSH agent
eval $(ssh-agent -s) - Add SSh key to SSH agent
ssh-add ~/.ssh/id_rsa. - Add github/gitlab to known host
ssh-keyscan github.com >> ~/.ssh/known_hosts.