Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Look at the -L option to ssh. Commented Aug 12, 2016 at 6:11
  • is this done on the client side, and if so is there a way to not do that and make the public server tunnel into the local server based on the domain name? Commented Aug 12, 2016 at 6:18
  • Look up "ssh proxycommand". Though I'm not sure if there's some added complication here. Commented Aug 12, 2016 at 7:38
  • Do you want to forward all ssh connections to mypublicserver.com to the internal gitlab server? Or do you want to only forward some connections? Based on what criteria? Commented Aug 12, 2016 at 14:48
  • I want to do it based off of domain. e.g. ssh [email protected] would be sent to the internal server and ssh [email protected] would go to the public server. (See edit) Commented Aug 12, 2016 at 16:29