SSH problems, can't deploy anymore
Asked by Gennaro:

Hi,

from this morning i can't deploy on my server, i followed the instruction here: [https://bitbucket.org/blog/ssh-host-key-changes?utm_source=alert-email\&utm_medium=email\&utm_campaign=ssh-key-rotation_EML-15878\&jobid=106067432\&subid=1716441689](https://bitbucket.org/blog/ssh-host-key-changes?utm_source=alert-email&utm_medium=email&utm_campaign=ssh-key-rotation_EML-15878&jobid=106067432&subid=1716441689)  

but I still have issue with the command: ssh git@bitbucket.org host_key_info

the error I'm receiving is:

Permission denied (publickey).

and wheny I try to deploy this is what I see:  
111
Host Name: production  
112  
113
================  
114
Cloning into '/home/stocksmetic/public_html/releases/629'...  
115
Host key verification failed.  
116
fatal: Could not read from remote repository.  
117  
118
Please make sure you have the correct access rights  
119
and the repository exists.  
120  
`this is What I have in my /.ssh/known_hosts:`  

*** ** * ** ***

\|1\|GXXkl0+3UrHVxtXgkGrho0a6CYo=\|9uUYtTnj/od4FEE9+wecfnZ824k= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAwbRs1nivqZp6LcqI3i0x4cch5SkfVbfZK/0xZAT/q8XtmKEkgdGQ70ktmy2A4G+WbVq7bLrR+blqMUAEHoIfg=  
\|1\|O4NNAVSC1tjy3zGxgKgdgIr6Uw4=\|TVqTeA4ggJDGwt3wAnqIWljylYs= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGtVO21yPG3iUWvUnZokkIZHZYUL8SRNCsULvg6ony4YoxzfeJA+4Rt04sibB6Z8QjuBo12WLZCl4U0jdxHrzUw=  
\|1\|bPzBAG1Yhbu03vsUTNjYEMGzrxc=\|jyD5XB4x5WWOk2kjfTF6blIe+XY= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGtVO21yPG3iUWvUnZokkIZHZYUL8SRNCsULvg6ony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hLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPIQmuzMBuKdWeF4+a2sjSSpBK0iqitSQ+5BM9KhpexuGt20JpTVM7u5BDZngncgrqDMbWdxMWWOGtZ9UgbqgZE=  
\~  
`and this is an'other known hosts I see on my folder project:`  

*** ** * ** ***

\|1\|GXXkl0+3UrHVxtXgkGrho0a6CYo=\|9uUYtTnj/od4FEE9+wecfnZ824k= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAwbRs1nivqZp6LcqI3i0x4cch5SkfVbfZK/0xZAT/q8XtmKEkgdGQ70ktmy2A4G+WbVq7bLrR+blqMUAEHoIfg=  
\|1\|O4NNAVSC1tjy3zGxgKgdgIr6Uw4=\|TVqTeA4ggJDGwt3wAnqIWljylYs= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGtVO21yPG3iUWvUnZokkIZHZYUL8SRNCsULvg6ony4YoxzfeJA+4Rt04sibB6Z8QjuBo12WLZCl4U0jdxHrzUw=  
\|1\|bPzBAG1Yhbu03vsUTNjYEMGzrxc=\|jyD5XB4x5WWOk2kjfTF6blIe+XY= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGtVO21yPG3iUWvUnZokkIZHZYUL8SRNCsULvg6ony4YoxzfeJA+4Rt04sibB6Z8QjuBo12WLZCl4U0jdxHrzUw=  
\|1\|dgfcEjlXkG1ww7XBRqGkeQ8r9TM=\|leX7BvzyQZ28UxIUDz5MQaiImBA= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGEzX0l5UW/hcw2N2e+iydjv1rTE2zpjZRTOA0KfkTmdvJlIyyaeR5vlyazts7PEiq4LYk0TEmlcgdemt+F2YHk=  
bitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDQeJzhupRu0u0cdegZIa8e86EG2qOCsIsD1Xw0xSeiPDlCr7kq97NLmMbpKTX6Esc30NuoqEEHCuc7yWtwp8dI76EEEB1VqY9QJq6vk+aySyboD5QF61I/1WeTwu+deCbgKMGbUijeXhtfbxSxm6JwGrXrhBdofTsbKRUsrN1WoNgUa8uqN1Vx6WAJw1JHPhglEGGHea6QICwJOAr/6mrui/oB7pkaWKHj3z7d1IC4KWLtY47elvjbaTlkN04Kc/5LFEirorGYVbt15kAUlqGM65pk6ZBxtaO3+30LVlORZkxOh+LKL/BvbZ/iRNhItLqNyieoQj/uh/7Iv4uyH/cV/0b4WDSd3DptigWq84lJubb9t/DnZlrJazxyDCulTmKdOR7vs9gMTo+uoIrPSb8ScTtvw65+odKAlBj59dhnVp9zd7QUojOpXlL62Aw56U4oO+FALuevvMjiWeavKhJqlR7i5n9srYcrNV7ttmDw7kf/97P5zauIhxcjX+xHv4M=  
bitbucket.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPIQmuzMBuKdWeF4+a2sjSSpBK0iqitSQ+5BM9KhpexuGt20JpTVM7u5BDZngncgrqDMbWdxMWWOGtZ9UgbqgZE=  
\|1\|azllSsGuu9VsHypNqytLBaf6WD0=\|mtu+Nu3CmwIKH1UJmz8lrlR0KE8= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPIQmuzMBuKdWeF4+a2sjSSpBK0iqitSQ+5BM9KhpexuGt20JpTVM7u5BDZngncgrqDMbWdxMWWOGtZ9UgbqgZE=  
how can I solve this issue?


Answers:
author: Patrik S
body: Hello [@Gennaro](/t5/user/viewprofilepage/user-id/5056842) thank you for reaching out to Community!

I see you also opened an internal support ticket related to this issue and one of our support engineers is already working on that case. That said, I would recommend focusing the discussion on the support ticket to avoid any confusions that may arise from discussing the issue in different places.

Once the issue is resolved in the support ticket, if you feel comfortable, please feel free to share the solution here with the rest of the community.

Thank you, [@Gennaro](/t5/user/viewprofilepage/user-id/5056842) !

Patrik S


Tags: bitbucket-cloud

cloud