I want to forward port 22 (ssh) to port 7999 (where bitbucket is running) only for user git
, and use the normal sshd for every other user. I looked at HAProxy for the ssh forwarding, but that doesn't let me differentiate per user.
How do I configure this on the server? I don't want each individual client to configure a ProxyCommand
in their .ssh/config
.