Forwarding Client IP for git operations over SSH?

Bailey Waldorf December 16, 2020


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
Mo Eb March 30, 2023

Hi @Bailey Waldorf 

Did you find any solution/workaround for this?



Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events