Why does "git push" prompt for "git password" when using SSH keys from CentOS

I have a new project created up in my personal gitlab CE
(gitlab-ce-12.10.6-ce.0.el7.x86_64) in my lab at work.

The http url to the project is:
The SSH url to the project is: git@

I run through these steps to add my changes up to the project on my development machine:
cd existing_folder
git init
git remote add origin git@
git add .
git commit -m “Initial commit”
git push -u origin master

The git push command prompts me for the password:
git@'s password:

I have created RSA SSH keys. I have created ed25519 SSH Keys. I have copy/pasted the .pub contents over and over again to my account wfrench under Settings > SSH Keys.

No matter what I do I cannot get past this problem. I cannot find a confirmed solution to my problem that I am describing above.

probably your key isnt added to your ssh-agent

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/ssh.key"

you could otherwise use the global settings

git config core.sshCommand "ssh -i ~/.ssh/ssh.key -F /dev/null"


@Underknowledge thanks.

It turns out that when the package gitlab-ce was installed many of the files and directories did not have a proper SELINUX context set. Specifically the USER target security context was set to unconfined_u.

I figured out what and how to set the USER target security context to.