There is a server with a raised gitlab on it.

I want to transfer ssh to the local 10.xxx interface so that ssh is not accessible from the Internet.

If I do this, will ssh work in gitlab? Thank.

  • where "transplant", there will work. - aleksandr barakin

1 answer 1

If I do this, will ssh work in gitlab?

let's slightly reformulate the question:

  1. I close access to the server from the outside world via ssh protocol
  2. Will the server be available after this via ssh ?

The obvious answer is: for the outside world - of course not.


The complex of programs and scripts, called gitlab , does not contain (as far as I know) the ssh server implementation. therefore, the phrase "ssh in gitlab" is not entirely correct. you connect to the ssh server. and if you close access to it from the outside world, there will be no access.

  • I want the server to be inaccessible to the outside world, only on port 80, but I need to have gitlab available via ssh from outside. that's what i'm talking about or is it impossible if i replace ssh "inside"? - Medvedev Alexandr
  • supplemented the answer. Yes, "such" is impossible. - aleksandr barakin
  • Thank you, I understood everything. - Medvedev Alexandr