Public and Private keys are added and regular git operations seem to be working fine. It seems that unity is somehow not aware of my credentials or something like that. I get the following error every time I tried.
Note that it’s a HTTP Basic authentication error, which uses login/password and not your SSH keys. Did you add your git dependency using the git or http url? If you want to use SSH keys, you need to use the git url.
If you want to use the HTTP git url, you need to authenticate with a git credentials helper, Unity cannot ask you for your login/password interactively.
If you’re already using the git url, LFS can still try to connect using HTTP. Check the documentation above for how to tell Unity the LFS url to use.