Я пытаюсь установить зависимости компоновщика из частного репозитория битбакета на composer install
с строками ниже в composer.json на моем сервере IIS (вызван Jenkins CI).Composer install private repository on IIS by Jenkins CI
"repositories": [
{
"type": "vcs",
"url": "ssh://[email protected]/company/repo-name.git"
}
],
Результат:
Failed to execute git clone --mirror "ssh://[email protected]/company/web.git" "C:/Users/myusername/AppData/Local/Composer/vcs/ssh---company-bitbucket.org-repo-name.git/"
Cloning into bare repository 'C:/Users/myusername/AppData/Local/Composer/vcs/ssh---company-bitbucket.org-repo-name.git'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Можно ли связать private.ppk с композитором без необходимости SSH-агента?