Cloning via SSH blocked by Terms of Service

I am trying to clone a repository via SSH and receive the following message:

You (@username) must accept the Terms of Service in order to perform this action.

How do I do this via SSH? I have created a public key and have added it to my gitlab account but that seems not to be enough.