Problems accessing repositories via SSH

After several time I stopped been able to access the repositories via SSH, even when testing using ssh -T the server replies me with “no such file or directory”
I was trying to debug this problem using log files but I cannot see what’s the file or directory that is missing.

SSH Keys seen to be valid and loaded correctly, the problem seems to be after being authenticated the server replies that.

debug information:
https://pastebin.com/raw/nixgKrrG

Can someone please help me trying to find to the source of the problem or knows a solution for this?

If anyone has the same problem it’s fixable by changing the shell

usermod -s /usr/share/webapps/gitlab-shell/bin/gitlab-shell-ruby gitlab