The authenticity of host ' (' can't be established

After I added ssh key and try to push my files i seen this message

The authenticity of host ' (' can't be established.
ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.
Are you sure you want to continue connecting (yes/no)? 

Any Suggestions?

Type yes to continue. You can see the ssh fingerprints in


thanks axil for reply , now after type yes as you mentioned , i face new issue

 GitLab: Deploy keys are not allowed to push code.
 fatal: Could not read from remote repository

Do you faced this issue before ?

It seems that you used a deploy key which will not work. They are only used to read.

Instead, add it to your account in

1 Like

thanks axil for your help , now its working well , i was adding the key on the project not on my profile , sorry from a long time i am did not deploy a new key, but Gitlab the best for me it deserve it.
Thanks Again axil :thumbsup:

1 Like

I cannot find the link to the ssh fingerprints at the link you posted: all I could find is here but the fingerprint seems to have changed since then.

This page seems to no longer have the ssh fingerprints, and, after a thorough google search, they don’t seem to be available from a reliable online source. Bummer :confused:

Hi, the settings have been moved under :slight_smile:



It seems the link from was never updated. Under “Where can I find detailed information on’s settings, such as SSH host keys and its runners?”, the “ settings” link returns a 404.

Oops, nice catch! I submitted an MR

Great, thanks again.

This error is concerning, though, because the security risks ought to be addressed, so this message doesn’t happen.

I have solved this issue by deleting my .git folder and gitignore file, after this I re-initialized the git with git init and did all the process again to push my code