Hello,
after I deleted bitbucket from known_hosts, the following error appears, I tried many tutorials but it didn't work.
saya juga sudah mencoba
1) To remove duplicates entries:
ssh-keygen -R bitbucket.org && sed -i.old -e '/AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/d' ~/.ssh/known_hosts && curl https://bitbucket.org/site/ssh >> ~/.ssh/known_hosts
2) To add new entries:
curl https://bitbucket.org/site/ssh >> ~/.ssh/known_hosts
3) To test if works:
ssh git@bitbucket.org host_key_info
but still can't run
I hope help to solve the problem, thank you
Hi @baguss,
Thank you for reaching out to the community.
Based on my understanding, when you run the command below, you're getting the new SSH host keys.
ssh git@bitbucket.org host_key_info
However, when you try to connect to Bitbucket.org via SSH through your 3rd party application, it still can't connect.
If that's correct, I'm suspecting the 3rd party application is interfering with the process of getting the new Bitbucket.org host keys.
Having said that, is there a way for you to manually change your 3rd party application's host key for Bitbucket.org?
Regards,
Mark C
oh it turns out, ssh git@bitbucket.org host_key_info creates/populates known_hosts file, but system only reads git_known_hosts file, so I need to make changes manually, and it works for me,
Thank You
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.