Ssh forward into lxc if match user git

Hello,

First post here! How does one ssh forward if matches user git into lxc container?

I have gitlab running in lxc using port 22 for ssh. I am trying to add match user git through host and ssh forward/proxy into lxc container.

I have already create user git and place authorized keys connecting host and container user git. I see there is a way to edit /etc/ssh/sshd_config with Match User git.

How do I finish this setup? Any help is appreciated.

I am able to ssh forward into lxc gitlab with force command.

Match User git
AllowAgentForwarding yes
AllowTcpForwarding yes
ForceCommand ssh git@containerIP

This however, will not allow me to git clone via ssh.