we have setup a proxy server between the internet and the backend servers. The HTTP requests are well managed with the VirtualHost directive.
We have a git server sitting behind the proxy, and we would like to access the repository using ssh only, but get rid of the port number in the URL.
For example:
ssh://backend.server.com:7999 --> ssh://backend.server.com
Below is the configuration of apache proxy:
ProxyRequests
ProxyPreserveHost On
ProxyVia Full
AllowCONNECT 7999
The AllowCONNECT directive is supposed to handle the port 7999 via ssh, but I'm not sure this configuration is enough.
What do I need to configure to manage the ssh protocol as we manage the http via ProxyPass and ProxyPassReverse?
Thanks.
I might be misguided here because I don't know all the gory details of how Apache can take care of different kinds of traffic but, AFAIK:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With