The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forwarding Client IP for git operations over SSH?

Bailey Waldorf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2020

Hello,

We have a Bitbucket Data Center cluster behind a load balancer. When users clone over SSH, the Bitbucket logs see the IP address as the load balancer rather than the user. This is because TCP connections don’t allow a header to forward the client IP and instead just use the load balancer IP. This is troublesome when inspecting the access logs and not being able to associate a user to their IP address.

We have the option of adding the client IP to the TCP packet but Tomcat cannot parse the whole packet without changes being made. Does anyone have a workaround so we can see where our SSH requests are coming from?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Moses Ebrahimi
Contributor
March 30, 2023

Hi @Bailey Waldorf 

Did you find any solution/workaround for this?

Thanks

Moses

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events