BitBucket: Host key authentication failed
BitBucket: Host key authentication failed
Host key authentication failed, Nothing about authentication, so you are working on the wrong field. It means that the host key of the bitbucket.org is not in your ~/.ssh/known_hosts and your client does not have any way how to verify it. It was answered many times how to workaround it, but how to do it properly?
There is section in the bitbucket manuals, describing how their public keys and fingerprint looks like. So:
1,Run ssh bitbucket.org
2,It will prompt you with one of the fingerprints:
The authenticity of host 'bitbucket.org (104.192.143.3)' can't be established.
RSA key fingerprint is SHA256:*****.
Are you sure you want to continue connecting (yes/no)?
SHA256:zzXQOXSRBEiUtuE8AikJYKwbHaxvSc0ojez9YXaGp1A bitbucket.org (RSA)
Or just copy the public key from the bitbucket website directly in the ~/.ssh/known_hosts file
Post a Comment