when connecting to a git repository using SSH for the first time, it is asked to confirm the authenticity of the host according to its fingerprint:
The authenticity of host 'github.com (192.30.255.112)' can't be established.
RSA key fingerprint is SHA256:....
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
And there we have 3 choices : "yes", "no" and "[fingerprint]". I understand well the "yes" and "no" response:
yes = I've checked the fingerprint of the host and it is OK, please connect me.
no = The fingerprint of the host is different, please don't connect me.
But I didn't found any documentation about the third option. In every documentation I checked like this one from Microsoft or this one from Heroku there are only two options : "yes" or "no".
Why do I have a third option "[fingerprint]" and what is its purpose ?
ssh
to compare the two fingerprints for you. (This requires you to get the fingerprint first; don't just copy the fingerprint that the host itself is reporting.) – Operator