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.