Authorized_keys file not updated

I created ssh-key pair just like below command on linux.
ssh-keygen -t rsa -C “xxxxx”

and registered public key to Gitlab.

I’m trying to git clone with private key, but server ask me password.

I connect server, and get info about authorized_keys.
ls /home/git/.ssh/authorized_keys
It’s too old timestamp.

I can’t find my public key in authorized_keys.

Instead, I can find authorized_keys.lock file in same directory.

Is this file blocks my update?
Should I delete this file?


I could solve myself.

Add public key to authorized_keys.