You need to generate your public and private key with your user(not as root) type in the terminal
ssh-keygen -t rsa -b 4096 -C "[email protected]"
with this command your key pair will be generated in the ~/ directory. ssh after the keys are generated enter your github click on your profile picture and click on the Settings item in the page that opens on the right side will have a menu with the item SSH and GPG Keys click on it and on the screen that opens click on "New SSH Key" will open a screen with two Title and Key fields in the title you can put a title that will identify the key for example Key notbook, Job key etc.. in the key field you must copy the contents of your public key, enter the terminal with your user
cd ~/.ssh
cat id_rsa.pub
the cat command will print the key in the terminal copy all the contents and paste into the key field then click "Add SSH Key" after doing this you should be able to use the ssh repository smoothly
Did you create this repository? Or are other people using it?
– emanuel cavalcante
I created it. There’s no one else using it.
– user63513
Try to configure the foreign key to get access, see ==> here
– emanuel cavalcante
You have to add a new SSH key to your Github account. help github: https://help.github.com/pt/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account
– Denys Fontenele