Skip to content

Can we remove the support for `gitlab-shell user-123` invocations?

The bin/gitlab-shell executable is meant to be invoked by SSHd. There are three ways I know that it can be invoked:

  • via ~git/.ssh/authorized_keys -- invocation looks like gitlab-shell key-456
  • via AuthorizedKeysCommand -- also, gitlab-shell key-456
  • via AuthorizedPrincipalsCommand -- gitlab-shell username-someuser

So what do we support gitlab-shell user-123 for? If it has no use we should remove it.