Forward SSH from port x to port y using Apache
Posted on 2014-09-11
One of my Ubuntu servers is running Atlassian Stash which runs an additional SSHD instance on a nonstandard port. Unfortunately, I need to connect via a DIFFERENT nonstandard port that is in the range I got opened on my ISP's firewall. As far as I can tell, I cannot change what port that uses. :(
Can Apache forward SSH from port x to port y for me? I really don't want to need to install HAProxy just to do this.