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

0 votes
Moses Ebrahimi
Contributor
March 30, 2023

Hi @Bailey Waldorf 

Did you find any solution/workaround for this?

Thanks

Moses

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events