SSH key not working after restore

Gitlab CE 14.7.0
I restored my gitlab to another server and now I can’t use git, It prompts me for the git password instead of using my ssh key. I’ve check permissions, etc on the authorized keys and they are correct. I’ve tried everything but nothing seems to work. If you have any suggestion, please let me know. I’m at wits end.