Gitlab mirroring repositories with ssh agent-forwarding

Does Gitlab supports mirroring repositories with ssh agent forwarding?

Example scenario

Source GIT → proxy1(auths with SSH key) → Destination GIT (auths with ssh-key from ssh-agent, from source GIT) (agent forwarding)


The Gitlab documentation explains the mirroring feature: Repository mirroring | GitLab

and it does mention ssh:

My mirror has ssh://, but that key is used only when i’m connecting to the proxy…


  1. Source Git connects to Proxy with ssh-key
  2. Proxy check that ssh-key is valid for specific user, and allows or deny connection to destination GIT
  3. If connection is accepted, destination GIT, is also expecting ssh-key, which can be delivered via agent forwarding