ssh-keygen
Example:
Enter file in which to save the key (/root/.ssh/id_rsa): /root/.ssh/id_rsa_git
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa_git.
Your public key has been saved in /root/.ssh/id_rsa_git.pub.
The key fingerprint is:
SHA256:tR/yEztefSG22QMO8jcLOZuYmicxxcOQ4wsTykpYhVI root@test
The key's randomart image is:
+---[RSA 3072]----+
| .Eo. . |
|. o . + |
|.o. . o = . |
|.. o o . * . |
|. . o S.+.o+ . |
| . + o+=+*..|
| o =**.oo|
| ...o.*+o o|
| o+o o.. |
+----[SHA256]-----+
git config pull.rebase false
git checkout playbooks
git fetch
git push --set-upstream ansible-playbooks playbooks