Hello everyone,
I am attempting to clone a private repository on an Ubuntu server where SSH is disabled. However, I am encountering an error when trying to clone the repository:
$ git clone https://{username}:{Personal-Access-Token}@gitlab.com/{subdomain}/gitlab/{username}/{repository-name}.git
Cloning into 'repository-name'...
remote: HTTP Basic: Access denied. The provided password or token is incorrect, or your account has 2FA enabled, and you must use a personal access token instead of a password.
fatal: Authentication failed for 'https://gitlab.com/{subdomain}/gitlab/{username}/{repository-name}.git/'