# Need help setting SSH between bucket and deployment server

**URL:** <https://community.developer.atlassian.com/t/need-help-setting-ssh-between-bucket-and-deployment-server/87224>\
**Category:** Bitbucket Development\
**Created:** [December 17, 2024, 11:08am UTC](https://community.developer.atlassian.com/t/need-help-setting-ssh-between-bucket-and-deployment-server/87224 "2024-12-17T11:08:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RafaBobik1](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@RafaBobik1](https://community.developer.atlassian.com/u/RafaBobik1)\
**Post date:** [December 17, 2024, 11:08am UTC](https://community.developer.atlassian.com/t/need-help-setting-ssh-between-bucket-and-deployment-server/87224/1 "2024-12-17T11:08:03Z")

</div>

I inherited duty of maintaining a project (simple bugfixes), but it turns out I must first fix deployment pipeline after server migration (which I didn’t know I’m signing up for…)

PROBLEM: bitbucket (cloud) can’t establish SSH connection with the server (another cloud)

Here are steps I’ve taken:

1. generate key, add it, and put it in config, test connection (scr 1)
2. put public key in bitbucket (scr 2 3)
3. reconfigure **develop** part pipeline to point to new server (scr 4)
4. when trying to build the project I get error (scr 5)

SCREENSHOTS:  
[https://drive.google.com/drive/folders/1VkjNTvcIw66meOCelVFOnbG30GoQqBko?usp=sharing](https://drive.google.com/drive/folders/1VkjNTvcIw66meOCelVFOnbG30GoQqBko?usp=sharing)

I’m 99% convinced, that the pipeline definition is missing sth. Any suggestions are much appreciated, as I exhausted all the ideas I had.

Thanks  
Rafał

 ![SSH 5](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/5/4/542458ef30389c1d697a0b68628fff8932c183a9.png)
