Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,645,252
Community Members
 
Community Events
196
Community Groups

Use non-22 SSH port in pipelines?

Edited

Hey,

 

I am trying to setup bitbucket pipelines to deploy code on PR merges.

I already did it for one project without a problem but the SSH Port for this projects server is the default 22 one.

For the new project however I have another non-standard SSH port which seems to give me errors. I already checked that I can execute the very same command locally without a problem but as soon as pipelines executes it, it fails. My guess is that the port is simply blocked by bitbucket?

The error I get when trying to do an rsync:

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]

 

1 answer

10 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2017

Hi Ahmad,

Under your Repository settings > Pipelines > SSH Keys you can add a host address with a specific port using this syntax

address:port

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events