S
S
Svetlana Galenko2020-05-11 20:02:20
git
Svetlana Galenko, 2020-05-11 20:02:20

Why does an error occur when trying to clone a repository from github via SSH?

Hello, when trying to clone a repository from github via SSH, the following problem occurs:

[RuntimeException]
Failed to execute git clone --mirror ' https://[email protected]:***@git.skeek
s.com/v3project/theme -mega.git' '/var/www/u1043449/test-site.ru/demo.ru/.c
omposer/cache/vcs/https---git.skeeks.com-v3project-theme-mega.git/'

Cloning into bare repository '/var/www/u1043449/test-site.ru/demo.ru/.comp
oser/cache/vcs/https---git.skeeks.com-v3project-theme-mega.git'.. .remote :
HTTP Basic: Access denied
fatal: Authentication failed for ' https://git.skeeks.com/v3project/theme-me
ga.git/' Ran

the commands from the sitehttps://github.com/v3project/app-v3-shop to the test-site.ru folder:
[email protected] [~/test-site.ru/demo.ru]# curl -sS https ://getcomposer.org/installer | COMPOSER_HOME=.composer php
[email protected] [~/test-site.ru/demo.ru]# COMPOSER_HOME=.composer php composer.phar create-project --prefer-dist --stability=dev v3project /app-v3-shop=dev-master demo.ru
Next, before the final installation, I am asked to enter the username and password from the github, I enter it, but everything is unsuccessful and the following error occurs:

Loading composer repositories with package information
Authentication required (git.skeeks.com ):
Username: [email protected]
Password:

[RuntimeException]
Failed to execute git clone --mirror ' https://[email protected]:***@git.skeek
s.com/v3project/theme-mega.git' '/var/www/u1043449/test-site. ru/demo.ru/.c
omposer/cache/vcs/https---git.skeeks.com-v3project-theme-mega.git/'

Cloning into bare repository '/var/www/u1043449/test-site.ru /demo.ru/.comp
oser/cache/vcs/https---git.skeeks.com-v3project-theme-mega.git'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for ' https:/ /git.skeeks.com/v3project/theme-mega.git/
'

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [- -no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv| --verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [-- prefer-lowest] [-i|--interactive] [--root-reqs] [--] []...

what could be the reason for this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question